From: Jeff Layton Date: Mon, 30 Jun 2014 15:48:44 +0000 (-0400) Subject: nfsd: Allow struct nfsd4_compound_state to cache the nfs4_client X-Git-Tag: omap-for-v3.17/fixes-against-rc2~101^2~130 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4b24ca7d30430882a2eaeb9d511990fb4581230d;p=pandora-kernel.git nfsd: Allow struct nfsd4_compound_state to cache the nfs4_client We want to use the nfsd4_compound_state to cache the nfs4_client in order to optimise away extra lookups of the clid. In the v4.0 case, we use this to ensure that we only have to look up the client at most once per compound for each call into lookup_clientid. For v4.1+ we set the pointer in the cstate during SEQUENCE processing so we should never need to do a search for it. Signed-off-by: Trond Myklebust Reviewed-by: Christoph Hellwig Signed-off-by: J. Bruce Fields --- Reading git-diff-tree failed