pradeepthomas(a)gmail.com has uploaded this change for review. (
https://review.gerrithub.io/c/ffilz/nfs-ganesha/+/451311
Change subject: MDCACHE - Force clean all chunks before reusing an MDCACHE entry.
......................................................................
MDCACHE - Force clean all chunks before reusing an MDCACHE entry.
The background thread drops qlock and reacquire it when cleaning up
chunks. This could probably race with reuse of parent entry and end
up having stale parent pointer. So force clean chunks before parents
can be reused.
Signed-off-by: Pradeep <pradeepthomas(a)gmail.com>
Change-Id: I76846aa6c5a626eb14ca1c3bafc6054bf08a3e42
---
M src/FSAL/Stackable_FSALs/FSAL_MDCACHE/mdcache_avl.c
M src/FSAL/Stackable_FSALs/FSAL_MDCACHE/mdcache_helpers.c
M src/FSAL/Stackable_FSALs/FSAL_MDCACHE/mdcache_lru.c
M src/FSAL/Stackable_FSALs/FSAL_MDCACHE/mdcache_lru.h
4 files changed, 33 insertions(+), 20 deletions(-)
git pull ssh://review.gerrithub.io:29418/ffilz/nfs-ganesha refs/changes/11/451311/1
--
To view, visit
https://review.gerrithub.io/c/ffilz/nfs-ganesha/+/451311
To unsubscribe, or for help writing mail filters, visit
https://review.gerrithub.io/settings
Gerrit-Project: ffilz/nfs-ganesha
Gerrit-Branch: next
Gerrit-Change-Id: I76846aa6c5a626eb14ca1c3bafc6054bf08a3e42
Gerrit-Change-Number: 451311
Gerrit-PatchSet: 1
Gerrit-Owner: pradeepthomas(a)gmail.com
Gerrit-MessageType: newchange