Subject: Re: 64 bit inode changes
To: None <firstname.lastname@example.org>
From: Joerg Sonnenberger <email@example.com>
Date: 08/16/2005 15:29:36
On Tue, Aug 16, 2005 at 10:30:51AM +0900, YAMAMOTO Takashi wrote:
> > The problem with NFS is that it reuses the transfer buffer and alters
> > the dirent inplace. nfs_readdir -> nfs_bioread -> nfs_readdirrpc is the
> > chain. I'm still thinking about how to best solve this. So far, I've
> > been thinking about just follow the UFS example and allocate a transfer
> > buffer, drop the direct entries there (since that's what NFS is actually
> > using too) and convert it afterwards.
> i don't see why you need an additional buffer.
> making nfs_readdirrpc compose the new version of dirent isn't enough?
Well, my problem is that I don't know how to pass the userland buffer to
nfs_readdirrpc. There are two uios involved here, the userland output
buffer and the buffer used for the RPC request.