>From Malahal <mala...@gmail.com>:

Malahal has uploaded this change for review. ( 
https://review.gerrithub.io/363141


Change subject: FSAL upcall threads should wait for MDCACHE upcall readiness
......................................................................

FSAL upcall threads should wait for MDCACHE upcall readiness

Currently mdcache has a rdwr lock to prevent itself operating on upcalls
when it is not ready by using a mutex. Some fsals, particularly GPFS
FSAL, does call posix2fsal_attributes() in its upcall thread which needs
correct op_ctx->fsal_export as well as readiness of mdcache to take
upcalls. This requires GPFS FSAL itself to wait for the upcall
readiness.

Coredump backtrace for reference:
0  0x000000001019686c in mdcache_fs_supported_attrs (exp_hdl=0x10005ae4620)
1  0x000000001001fd5c in posix2fsal_attributes (buffstat=0x3fff8d1b2668, 
fsalattr=0x3fff8d1b2888)
2  0x00003fff8d1d5890 in GPFSFSAL_UP_Thread (Arg=0x10005ae50d0)

Change-Id: I40661d06d2f97e42b59e95b1970e52efc3318565
Signed-off-by: Malahal Naineni <mala...@us.ibm.com>
---
M src/FSAL/FSAL_GLUSTER/fsal_up.c
M src/FSAL/FSAL_GPFS/fsal_up.c
M src/FSAL/Stackable_FSALs/FSAL_MDCACHE/mdcache_export.c
M src/FSAL/Stackable_FSALs/FSAL_MDCACHE/mdcache_int.h
M src/FSAL/Stackable_FSALs/FSAL_MDCACHE/mdcache_main.c
M src/FSAL/Stackable_FSALs/FSAL_MDCACHE/mdcache_up.c
M src/include/fsal_up.h
7 files changed, 32 insertions(+), 42 deletions(-)



  git pull ssh://review.gerrithub.io:29418/ffilz/nfs-ganesha 
refs/changes/41/363141/1
-- 
To view, visit https://review.gerrithub.io/363141
To unsubscribe, visit https://review.gerrithub.io/settings

Gerrit-Project: ffilz/nfs-ganesha
Gerrit-Branch: next
Gerrit-MessageType: newchange
Gerrit-Change-Id: I40661d06d2f97e42b59e95b1970e52efc3318565
Gerrit-Change-Number: 363141
Gerrit-PatchSet: 1
Gerrit-Owner: Malahal <mala...@gmail.com>
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Nfs-ganesha-devel mailing list
Nfs-ganesha-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nfs-ganesha-devel

Reply via email to