nfsd4: convert 4.1 replay encoding
commitf5236013a21c118e9d317e90c7a152dfe51fab93
authorJ. Bruce Fields <bfields@redhat.com>
Fri, 21 Mar 2014 21:57:57 +0000 (21 17:57 -0400)
committerJ. Bruce Fields <bfields@redhat.com>
Fri, 30 May 2014 21:31:55 +0000 (30 17:31 -0400)
treef2fcabe7395531380db28365ac2df0f92480fbcd
parent2825a7f90753012babe7ee292f4a1eadd3706f92
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