Frank Filz has uploaded this change for review.

View Change

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@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 change 470525. To unsubscribe, or for help writing mail filters, visit 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@mindspring.com>
Gerrit-MessageType: newchange