Frank Filz has uploaded this change for review.

View Change

NFS: Add a config to limit the number of entries returned in readdir

Also, fix up the maximum size of the response. Don't have the special
value 0 any more and make the maximum 1 MB (which is close to what the
Linux NFSv4 client asks for).

Change-Id: I5e0c6a93003212efb0ec9ed9c9f62d5b90394bf3
Signed-off-by: Frank S. Filz <ffilzlnx@mindspring.com>
---
M src/Protocols/NFS/nfs3_readdir.c
M src/Protocols/NFS/nfs3_readdirplus.c
M src/Protocols/NFS/nfs4_op_readdir.c
M src/config_samples/config.txt
M src/doc/man/ganesha-core-config.rst
M src/include/gsh_config.h
M src/support/nfs_read_conf.c
7 files changed, 101 insertions(+), 21 deletions(-)

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

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

Gerrit-Project: ffilz/nfs-ganesha
Gerrit-Branch: next
Gerrit-Change-Id: I5e0c6a93003212efb0ec9ed9c9f62d5b90394bf3
Gerrit-Change-Number: 545070
Gerrit-PatchSet: 1
Gerrit-Owner: Frank Filz <ffilzlnx@mindspring.com>
Gerrit-MessageType: newchange