Frank Filz has uploaded this change for review. (
https://review.gerrithub.io/c/ffilz/nfs-ganesha/+/1224472?usp=email )
Change subject: READDIR: Add new enable/disable of dir chunking with FSAL option to
control
......................................................................
READDIR: Add new enable/disable of dir chunking with FSAL option to control
Instead of setting Dir_Chunk = 0 to disable chunking, add a new
Dir_Chunk_Enable that can be set to false.
If Dir_Chunk is set to 0, Dir_Chunk_Enable will be set to false and
Dir_Chunk restored to the default (128) for compatibility with old
config files.
Also add a configuration for readdir mode for FSALs. They can set to
ANY, CHUNK, or UNCHUNK. Either of the second forms forces the mode
for those FSALs that depend on a specific mode.
FSAL_RGW sets to CHUNK
FSAL_CEPH sets to UNCHUNK
Change-Id: I499f766dfebf8986029cdf72678223e47884935e
Signed-off-by: Frank S. Filz <ffilzlnx(a)mindspring.com>
---
M src/FSAL/FSAL_CEPH/main.c
M src/FSAL/FSAL_RGW/main.c
M src/FSAL/Stackable_FSALs/FSAL_MDCACHE/mdcache_export.c
M src/FSAL/Stackable_FSALs/FSAL_MDCACHE/mdcache_ext.h
M src/FSAL/Stackable_FSALs/FSAL_MDCACHE/mdcache_handle.c
M src/FSAL/Stackable_FSALs/FSAL_MDCACHE/mdcache_helpers.c
M src/FSAL/Stackable_FSALs/FSAL_MDCACHE/mdcache_read_conf.c
M src/FSAL/Stackable_FSALs/FSAL_NULL/export.c
M src/FSAL/commonlib.c
M src/FSAL/default_methods.c
M src/FSAL/fsal_config.c
M src/config_samples/config.txt
M src/doc/man/ganesha-cache-config.rst
M src/include/FSAL/fsal_config.h
M src/include/fsal_api.h
M src/include/fsal_types.h
16 files changed, 149 insertions(+), 17 deletions(-)
git pull ssh://review.gerrithub.io:29418/ffilz/nfs-ganesha refs/changes/72/1224472/1
--
To view, visit
https://review.gerrithub.io/c/ffilz/nfs-ganesha/+/1224472?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: I499f766dfebf8986029cdf72678223e47884935e
Gerrit-Change-Number: 1224472
Gerrit-PatchSet: 1
Gerrit-Owner: Frank Filz <ffilzlnx(a)mindspring.com>