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:
parent
1e742ac62a
commit
9c14446e81
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue