Disable caching done by ganesha

Disable caching done by ganesha when ganesha
is used as CephFS's gateway (manila's usecase)

This is the recommended Ganesha setting as libcephfs
already caches information. Doing so helps avoid
cache incoherency issues.

Change-Id: Iacd575ac61b39ab9dcf8814514b5e3267570a17f
Closes-Bug: #1898950
This commit is contained in:
Victoria Martinez de la Cruz 2020-10-07 20:37:52 -03:00
parent 1e742ac62a
commit 9c14446e81
1 changed files with 15 additions and 0 deletions

View File

@ -776,6 +776,21 @@ RADOS_URLS {
ceph_conf = ${CEPH_CONF_FILE};
userid = admin;
}
CACHEINODE {
Dir_Max = 1;
Dir_Chunk = 0;
Cache_FDs = false;
NParts = 1;
Cache_Size = 1;
}
EXPORT_DEFAULTS {
Attr_Expiration_Time = 0;
}
%url rados://${CEPHFS_DATA_POOL}/ganesha-export-index
EOF
else