]> git.baikalelectronics.ru Git - kernel.git/commit
nfsd4: convert 4.1 replay encoding
authorJ. Bruce Fields <bfields@redhat.com>
Fri, 21 Mar 2014 21:57:57 +0000 (17:57 -0400)
committerJ. Bruce Fields <bfields@redhat.com>
Fri, 30 May 2014 21:31:55 +0000 (17:31 -0400)
commit1a509e3e9f960520df3080912378ab365053c47d
treef2fcabe7395531380db28365ac2df0f92480fbcd
parentca4152f0d21d577d2d75525b81df9a6fe4408fb5
nfsd4: convert 4.1 replay encoding

Limits on maxresp_sz mean that we only ever need to replay rpc's that
are contained entirely in the head.

The one exception is very small zero-copy reads.  That's an odd corner
case as clients wouldn't normally ask those to be cached.

in any case, this seems a little more robust.

Signed-off-by: J. Bruce Fields <bfields@redhat.com>
fs/nfsd/nfs4state.c
fs/nfsd/nfs4xdr.c
fs/nfsd/xdr4.h