Home
last modified time | relevance | path

Searched hist:"4 b24ca7d30430882a2eaeb9d511990fb4581230d" (Results 1 – 1 of 1) sorted by relevance

/linux/fs/nfsd/
H A Dnfs4state.cdiff 4b24ca7d30430882a2eaeb9d511990fb4581230d Mon Jun 30 17:48:44 CEST 2014 Jeff Layton <jlayton@primarydata.com> 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 <trond.myklebust@primarydata.com>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: J. Bruce Fields <bfields@redhat.com>