Rojin George has uploaded this change for review.

View Change

Fail NFSoRDMA mount for GSS Flavour krb5p

To support krb5p for NFSoRDMA,
1> We do encryption of NFS response header + data buffers and copy encrypted data in single large buffer to send over wire as opaque bytes.
2> For RDMA we send nfs_headers and data seperately, so that we can do rdma_writes for data buffers, so single opaque buffer with header+data is not working.

We can do the fix to copy this opaque buffer in RDMA registered memory and do rdma_send.

But using krb5p has these overheads
1> CPU overhead to do encryption of all data buffers
2> Do buffer copies
Which defeats the purpose of using RDMA transport.

Hence until we have a proper optimised solution we plan to fail the RDMA mount for Krb5p.

Change-Id: I99575e58a70969a627e5f6afccb85bfba9858a68
Signed-off-by: Rojin George <itsmerojin@gmail.com>
---
M src/MainNFSD/nfs_worker_thread.c
1 file changed, 17 insertions(+), 4 deletions(-)

git pull ssh://review.gerrithub.io:29418/ffilz/nfs-ganesha refs/changes/78/1200078/1

To view, visit change 1200078. To unsubscribe, or for help writing mail filters, visit settings.

Gerrit-MessageType: newchange
Gerrit-Project: ffilz/nfs-ganesha
Gerrit-Branch: next
Gerrit-Change-Id: I99575e58a70969a627e5f6afccb85bfba9858a68
Gerrit-Change-Number: 1200078
Gerrit-PatchSet: 1
Gerrit-Owner: Rojin George <itsmerojin@gmail.com>