Sachin Punadikar has uploaded this change for review.
Support disabling dentry caching for export
By default, mdcache caches dentries unless disabled by config option
"Dir_Chunk = 0". Caching of dentries helps in improved performance.
In certain scenarios like underneath FSAL recommends not to cache
dentries (like CEPH) or in case the export is getting changed outside
of NFS protocol, then disabling dentry caching helps.
One need to add below config value in EXPORT block.
DisableDirCaching = true;
Change-Id: I5140c19f6fae3861d56413afe43d78517a55bc4b
Signed-off-by: Sachin Punadikar <sachin.punadikar@ibm.com>
---
M src/FSAL/Stackable_FSALs/FSAL_MDCACHE/mdcache_handle.c
M src/FSAL/Stackable_FSALs/FSAL_MDCACHE/mdcache_helpers.c
M src/config_samples/export.txt
M src/doc/man/ganesha-export-config.rst
M src/include/nfs_exports.h
M src/support/exports.c
6 files changed, 35 insertions(+), 6 deletions(-)
git pull ssh://review.gerrithub.io:29418/ffilz/nfs-ganesha refs/changes/08/1224008/1
To view, visit change 1224008. To unsubscribe, or for help writing mail filters, visit settings.