]> git.karo-electronics.de Git - karo-tx-linux.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>
Wed, 28 May 2014 18:52:48 +0000 (14:52 -0400)
commitf18efa6c62b8a7a881f2341cda1534b5afa17df6
tree70c0bef7f3e32213c31f5afa77c09fafcb9e2843
parenta6d72e8c3c215979f0f5180fdd4d4d54e5e86634
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