Sagar Singh has uploaded this change for review.

View Change

Making thread safe read mdcache-entry qid by GC.

When data-path thread is updating the qid of mdcache entry
to/from L1/L2 then we are reading qid without any lock,
which is unsafe read.

Change-Id: I62773db18e2a3a54bb4dba70a411491efad07500
Signed-off-by: Sagar Singh <sagar.it.iiests@gmail.com>
---
M src/FSAL/Stackable_FSALs/FSAL_MDCACHE/mdcache_lru.c
1 file changed, 17 insertions(+), 7 deletions(-)

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

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

Gerrit-Project: ffilz/nfs-ganesha
Gerrit-Branch: next
Gerrit-Change-Id: I62773db18e2a3a54bb4dba70a411491efad07500
Gerrit-Change-Number: 544560
Gerrit-PatchSet: 1
Gerrit-Owner: Sagar Singh <sagar.it.iiests@gmail.com>
Gerrit-MessageType: newchange