[S] Change in ...nfs-ganesha[next]: Making thread safe read mdcache-entry qid by GC.
by Sagar Singh (GerritHub)
Sagar Singh has uploaded this change for review. ( https://review.gerrithub.io/c/ffilz/nfs-ganesha/+/544560 )
Change subject: Making thread safe read mdcache-entry qid by GC.
......................................................................
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(a)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 https://review.gerrithub.io/c/ffilz/nfs-ganesha/+/544560
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: I62773db18e2a3a54bb4dba70a411491efad07500
Gerrit-Change-Number: 544560
Gerrit-PatchSet: 1
Gerrit-Owner: Sagar Singh <sagar.it.iiests(a)gmail.com>
Gerrit-MessageType: newchange
2 years, 1 month