[M] Change in ...nfs-ganesha[next]: Modify get_buffer_for_io_response to allocate buffer unless asked not to
Frank Filz has uploaded this change for review. ( https://review.gerrithub.io/c/ffilz/nfs-ganesha/+/1231461?usp=email ) Change subject: Modify get_buffer_for_io_response to allocate buffer unless asked not to ...................................................................... Modify get_buffer_for_io_response to allocate buffer unless asked not to Originally get_buffer_for_io_response only allocated a buffer if RDMA was in use. This results in a confusing API. The new version allocates a buffer unless asked not to for zero copy purposes. An RDMA buffer is still allocated if required. Comments clarify that op_ctx->is_rdma_buff_used can be referenced to determine if the allocated buffer was an RDMA one or not. Change-Id: I579d65a7c517892886c8fe31cfb791f4c030171f Signed-off-by: Frank S. Filz <ffilzlnx@mindspring.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.h M src/include/gsh_rpc.h 8 files changed, 94 insertions(+), 70 deletions(-) git pull ssh://review.gerrithub.io:29418/ffilz/nfs-ganesha refs/changes/61/1231461/1 -- To view, visit https://review.gerrithub.io/c/ffilz/nfs-ganesha/+/1231461?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: I579d65a7c517892886c8fe31cfb791f4c030171f Gerrit-Change-Number: 1231461 Gerrit-PatchSet: 1 Gerrit-Owner: Frank Filz <ffilzlnx@mindspring.com>
participants (1)
-
Frank Filz (GerritHub)