mirror of https://github.com/ceph/ceph-ansible.git
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
parent
4a186237e6
commit
31762dede3
|
@ -13,6 +13,10 @@ NFS_Core_Param
|
||||||
}
|
}
|
||||||
|
|
||||||
{% if ceph_nfs_disable_caching or nfs_file_gw %}
|
{% if ceph_nfs_disable_caching or nfs_file_gw %}
|
||||||
|
EXPORT_DEFAULTS {
|
||||||
|
Attr_Expiration_Time = 0;
|
||||||
|
}
|
||||||
|
|
||||||
CACHEINODE {
|
CACHEINODE {
|
||||||
Dir_Max = 1;
|
Dir_Max = 1;
|
||||||
Dir_Chunk = 0;
|
Dir_Chunk = 0;
|
||||||
|
|
Loading…
Reference in New Issue