pradeepthomas@gmail.com has uploaded this change for review.

View Change

MDCACHE - Hold qlock when cleaning up chunks.

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.

Signed-off-by: Pradeep <pradeepthomas@gmail.com>
Change-Id: I9ebf01777d533962e121cd805fa87ffe39baa3be
---
M src/FSAL/Stackable_FSALs/FSAL_MDCACHE/mdcache_lru.c
1 file changed, 14 insertions(+), 8 deletions(-)

git pull ssh://review.gerrithub.io:29418/ffilz/nfs-ganesha refs/changes/25/450825/1

To view, visit change 450825. To unsubscribe, or for help writing mail filters, visit settings.

Gerrit-Project: ffilz/nfs-ganesha
Gerrit-Branch: next
Gerrit-Change-Id: I9ebf01777d533962e121cd805fa87ffe39baa3be
Gerrit-Change-Number: 450825
Gerrit-PatchSet: 1
Gerrit-Owner: pradeepthomas@gmail.com
Gerrit-MessageType: newchange