nfsd4: disable zero-copy on non-final read ops
authorJ. Bruce Fields <bfields@redhat.com>
Tue, 4 Dec 2012 23:03:46 +0000 (18:03 -0500)
committerJ. Bruce Fields <bfields@redhat.com>
Mon, 17 Dec 2012 21:02:41 +0000 (16:02 -0500)
commit9b3234b9220aae5387b60bc35a424ab6748b2b59
treeeeaf7761a957cd3acdd6c55a91587b28998d0bd9
parent3a28e331115be5130fe061e6b4183b29385116a6
nfsd4: disable zero-copy on non-final read ops

To ensure ordering of read data with any following operations, turn off
zero copy if the read is not the final operation in the compound.

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