Frank Filz has uploaded this change for review. (
https://review.gerrithub.io/c/ffilz/nfs-ganesha/+/470525 )
Change subject: Make NFSv4 READDIR use xdr_putbuffs
......................................................................
Make NFSv4 READDIR use xdr_putbuffs
Encode all the directory entries into an xdrmem buffer that can then
be added to the ioq via xdr_putbufs.
We also do a more exact calulation of the space available for the
directory entries so significantly more entries can be returned
if the entries are small.
Change-Id: I6975dcb6758a898d773c3a4c90e4c90e96638acd
Signed-off-by: Frank S. Filz <ffilzlnx(a)mindspring.com>
---
M src/Protocols/NFS/nfs4_op_readdir.c
M src/Protocols/NFS/nfs_proto_tools.c
M src/include/nfs_proto_tools.h
M src/include/nfsv41.h
4 files changed, 504 insertions(+), 252 deletions(-)
git pull ssh://review.gerrithub.io:29418/ffilz/nfs-ganesha refs/changes/25/470525/1
--
To view, visit
https://review.gerrithub.io/c/ffilz/nfs-ganesha/+/470525
To unsubscribe, or for help writing mail filters, visit
https://review.gerrithub.io/settings
Gerrit-Project: ffilz/nfs-ganesha
Gerrit-Branch: next
Gerrit-Change-Id: I6975dcb6758a898d773c3a4c90e4c90e96638acd
Gerrit-Change-Number: 470525
Gerrit-PatchSet: 1
Gerrit-Owner: Frank Filz <ffilzlnx(a)mindspring.com>
Gerrit-MessageType: newchange