Hi Bruce- These are a proof-of-concept, not for merge. This set of patches addresses the NFS/RDMA bug reported here: https://bugzilla.kernel.org/show_bug.cgi?id=198053 This approach does not cause any regression of support for NFSv4 COMPOUNDs with multiple READ operations over TCP. It is also far less invasive than my first try. Thoughts, opinions? --- Chuck Lever (3): nfsd: Fix NFSv4 READ on RDMA when using readv SUNRPC: Track current encode position in struct xdr_stream NFSD: Enable nfsd4_encode_readv() for NFS/RDMA fs/nfsd/nfs4proc.c | 1 + fs/nfsd/nfs4xdr.c | 16 +++++++--------- include/linux/sunrpc/svc.h | 3 +++ include/linux/sunrpc/svc_rdma.h | 6 +++++- include/linux/sunrpc/svc_xprt.h | 2 ++ include/linux/sunrpc/xdr.h | 1 + net/sunrpc/svc.c | 14 ++++++++++++++ net/sunrpc/svcsock.c | 7 +++++++ net/sunrpc/xdr.c | 2 ++ net/sunrpc/xprtrdma/svc_rdma_recvfrom.c | 1 + net/sunrpc/xprtrdma/svc_rdma_rw.c | 29 +++++++++++++++++++---------- net/sunrpc/xprtrdma/svc_rdma_sendto.c | 26 +++++++++++++++++++++++++- net/sunrpc/xprtrdma/svc_rdma_transport.c | 1 + 13 files changed, 88 insertions(+), 21 deletions(-) -- Chuck Lever