Sachin Punadikar has uploaded this change for review. (
https://review.gerrithub.io/c/ffilz/nfs-ganesha/+/1224008?usp=email )
Change subject: Support disabling dentry caching for export
......................................................................
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(a)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
https://review.gerrithub.io/c/ffilz/nfs-ganesha/+/1224008?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: I5140c19f6fae3861d56413afe43d78517a55bc4b
Gerrit-Change-Number: 1224008
Gerrit-PatchSet: 1
Gerrit-Owner: Sachin Punadikar <sachin.punadikar(a)ibm.com>