[pnfs] Status of linux-pnfs-2.6-latest pnfs client
J. Bruce Fields
bfields at fieldses.org
Fri Nov 9 16:15:10 EST 2007
On Fri, Nov 09, 2007 at 04:04:51PM -0500, William A. (Andy) Adamson wrote:
> I've been working away on the client port. I have implemented/updated:
>
> - getdevicelist and getdeviceinfo
> - layoutget called upon entry of nfs_readpages/nfs_writepages
> - a new filelayout_flush_one interface that sets up the per data
> server nfs_page list
> - layoutcommit
> - layoutreturn
>
> My current issue is that the sessions code does not perform state
> renewal, because there is no rpc_cred.
> The new v4 state renewal code calls nfs4_get_renew_cred() which
> searches the open state for a cred, which fails for NFSv4.1 where
> state is independent of open files, much less for dataservers which
> never see an open.
>
> Trond said that we will need to pass the requried machine credentials
> down on mount. I've added a patch to enable AUTH_UNIX - saving the
> (root) creds used by exchange_id in struct nfs_client.
You already know this, but just to keep it in mind: we also need
something like this for 4.0 for callbacks to work reliably over krb5.
(If we do the setclientid with a regular user cred, then the server
can't authenticate to that principal when it tries to do callbacks. So
the client should prefer to use a machine cred for setclientid whenever
one is available.)
--b.
More information about the pNFS
mailing list