ceph-nfs: disable attribute caching

When 'ceph_nfs_disable_caching' is set to True, disable attribute
caching done by Ganesha for all Ganesha exports.

Signed-off-by: Ramana Raja <rraja@redhat.com>
pull/2563/head
Ramana Raja 2018-05-03 17:40:13 +05:30 committed by Sébastien Han
parent 4a186237e6
commit 31762dede3
1 changed files with 4 additions and 0 deletions

View File

@ -13,6 +13,10 @@ NFS_Core_Param
}
{% if ceph_nfs_disable_caching or nfs_file_gw %}
EXPORT_DEFAULTS {
Attr_Expiration_Time = 0;
}
CACHEINODE {
Dir_Max = 1;
Dir_Chunk = 0;