]> 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)
commit3060ca16cd9bf1113a4ce629427a00dbb799000d
treef2fcabe7395531380db28365ac2df0f92480fbcd
parent0f08a2d9e59fe3ec417ca43f01c8ea6d15aeac79
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