NFS client patches for Linux 2.6.25-rc5

The following set of patches fix known issues with the 2.6.25-rc5 NFS client code, and significantly enhance the support for NFSv4.

linux-2.6.25-001-fix_lookup_hashtable.dif:

From: Trond Myklebust <Trond.Myklebust@netapp.com>

Date: Wed, 12 Mar 2008 14:40:14 -0400

SUNRPC: Fix a bug in rpcauth_lookup_credcache()

The hash bucket is for some reason always being set to zero.

Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>

linux-2.6.25-002-fix_rpcauth_lookup_rootcreds.dif:

From: Trond Myklebust <Trond.Myklebust@netapp.com>

Date: Wed, 12 Mar 2008 12:12:16 -0400

SUNRPC: Fix RPCAUTH_LOOKUP_ROOTCREDS

The current RPCAUTH_LOOKUP_ROOTCREDS flag only works for AUTH_SYS authentication, and then only as a special case in the code. This patch removes the auth_sys special casing, and replaces it with generic code.

Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>

linux-2.6.25-003-cleanup_rpc_bindcred.dif:

From: Trond Myklebust <Trond.Myklebust@netapp.com>

Date: Wed, 12 Mar 2008 16:20:55 -0400

SUNRPC: Clean up rpcauth_bindcred()

Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>

linux-2.6.25-004-add_generic_cred.dif:

From: Trond Myklebust <Trond.Myklebust@netapp.com>

Date: Wed, 12 Mar 2008 12:24:49 -0400

SUNRPC: Add a generic RPC credential

Add an rpc credential that is not tied to any particular auth mechanism, but that can be cached by NFS, and later used to look up a cred for whichever auth mechanism that turns out to be valid when the RPC call is being made.

Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>

linux-2.6.25-005-add_bind_cred_method.dif:

From: Trond Myklebust <Trond.Myklebust@netapp.com>

Date: Wed, 12 Mar 2008 16:21:07 -0400

SUNRPC: Add an rpc_credop callback for binding a credential to an rpc_task

We need the ability to treat 'generic' creds specially, since they want to bind instances of the auth cred instead of binding themselves.

Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>

linux-2.6.25-006-convert_rpcauth_lookupcred.dif:

From: Trond Myklebust <Trond.Myklebust@netapp.com>

Date: Wed, 12 Mar 2008 12:25:28 -0400

SUNRPC: Add a helper rpcauth_lookup_generic_cred()

The NFSv4 protocol allows clients to negotiate security protocols on the fly in the case where an administrator on the server changes the export settings and/or in the case where we may have a filesystem migration event.

Instead of having the NFS client code cache credentials that are tied to a particular AUTH method it is therefore preferable to have a generic credential that can be converted into whatever AUTH is in use by the RPC client when the read/write/sillyrename/... is put on the wire.

We do this by means of the new "generic" credential, which basically just caches the minimal information that is needed to look up an RPCSEC_GSS, AUTH_SYS, or AUTH_NULL credential.

Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>

[ICO]NameLast modifiedSizeDescription

[PARENTDIR]Parent Directory   -  
[TXT]linux-2.6.25-001-fix..>2008-03-12 21:08 1.5K 
[TXT]linux-2.6.25-002-fix..>2008-03-12 21:08 6.3K 
[TXT]linux-2.6.25-003-cle..>2008-03-12 21:08 3.6K 
[TXT]linux-2.6.25-004-add..>2008-03-12 21:08 5.8K 
[TXT]linux-2.6.25-005-add..>2008-03-12 21:08 5.1K 
[TXT]linux-2.6.25-006-con..>2008-03-12 21:08 4.0K 
[   ]series 2008-03-12 21:08 339  

Apache/2.4.6 (CentOS) OpenSSL/1.0.2k-fips PHP/5.4.16 mod_perl/2.0.11 Perl/v5.16.3 Server at linux-nfs.org Port 80