Gaurav has uploaded this change for review. (
https://review.gerrithub.io/c/ffilz/nfs-ganesha/+/1199664?usp=email )
Change subject: RDMA fixes to serve reads not aligned on BYTES_PER_XDR_UNIT
......................................................................
RDMA fixes to serve reads not aligned on BYTES_PER_XDR_UNIT
For RDMA reads we can't use allocated buffer for padding bytes.
We should use registered buffer only for sending padding bytes also.
For RDMA buffer size is always aligned to BYTES_PER_XDR_UNIT, so just
check if iov has space left and use it for padding.
Need tirpc pull
https://github.com/nfs-ganesha/ntirpc/pull/314
Change-Id: Id6a931bccd53b4cc48bf5ed3dfae356023909544
Signed-off-by: Gaurav Gangalwar <gaurav.gangalwar(a)nutanix.com>
---
M src/FSAL/fsal_helper.c
M src/Protocols/NFS/nfs3_readdir.c
M src/Protocols/NFS/nfs3_readdirplus.c
M src/Protocols/NFS/nfs4_op_read.c
M src/Protocols/NFS/nfs4_op_readdir.c
M src/RPCAL/rpc_tools.c
M src/include/fsal_api.h
M src/include/gsh_rpc.h
8 files changed, 26 insertions(+), 8 deletions(-)
git pull ssh://review.gerrithub.io:29418/ffilz/nfs-ganesha refs/changes/64/1199664/1
--
To view, visit
https://review.gerrithub.io/c/ffilz/nfs-ganesha/+/1199664?usp=email
To unsubscribe, or for help writing mail filters, visit
https://review.gerrithub.io/settings?usp=email
Gerrit-MessageType: newchange
Gerrit-Project: ffilz/nfs-ganesha
Gerrit-Branch: next
Gerrit-Change-Id: Id6a931bccd53b4cc48bf5ed3dfae356023909544
Gerrit-Change-Number: 1199664
Gerrit-PatchSet: 1
Gerrit-Owner: Gaurav <gaurav.gangalwar(a)gmail.com>