[S] Change in ...nfs-ganesha[next]: FSAL_CEPH : Set correct ceph client_cache_size
by Sachin Punadikar (GerritHub)
Sachin Punadikar has uploaded this change for review. ( https://review.gerrithub.io/c/ffilz/nfs-ganesha/+/1198615?usp=email )
Change subject: FSAL_CEPH : Set correct ceph client_cache_size
......................................................................
FSAL_CEPH : Set correct ceph client_cache_size
Ceph client caches metadata (inode & dentries). The cache size is
governed by parameter "client_cache_size" with default value of 16K.
Ganesha also caches this information via MDCACHE, and it has references
to the in-memory structure of ceph's cached data.
To avoid mdcache pointing to freed (or being freed) memory structures in
ceph client, the ceph client cache should be set properly.
Change-Id: I35ddecd84fcee188b7094e1645795abbe1bbe474
Signed-off-by: Sachin Punadikar <sachin.punadikar(a)ibm.com>
---
M src/FSAL/FSAL_CEPH/main.c
1 file changed, 26 insertions(+), 0 deletions(-)
git pull ssh://review.gerrithub.io:29418/ffilz/nfs-ganesha refs/changes/15/1198615/1
--
To view, visit https://review.gerrithub.io/c/ffilz/nfs-ganesha/+/1198615?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: I35ddecd84fcee188b7094e1645795abbe1bbe474
Gerrit-Change-Number: 1198615
Gerrit-PatchSet: 1
Gerrit-Owner: Sachin Punadikar <sachin.punadikar(a)ibm.com>