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

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


Change subject: Decouple upvector wait and nfs_init wait
......................................................................

Decouple upvector wait and nfs_init wait

Currently up_ready_wait() calls nfs_init_wait(). GPFS upcall thread
calls up_ready_wait() while holding gpfs_fs->upvector_mutex. This very
same mutex is needed by the thread that creates exports which is
responsible for setting nfs_init.init_complete condition!  This leads
gpfs_fs->upvector_mutex and nfs_init.init_complete ABBA deadlock between
GPFS upcall thread and the main thread reading/creating exports.

Fix is to avoid up_ready_wait() waiting the for the
nfs_init.init_complete condition. Let the GPFS upcall thread explicitly
wait for nfs_init.init_complete.

Change-Id: I0b597c8c6b7abd51505f66da503adf269745c913
Signed-off-by: Malahal Naineni <mala...@us.ibm.com>
---
M src/FSAL/FSAL_GPFS/fsal_up.c
M src/FSAL_UP/fsal_up_top.c
2 files changed, 6 insertions(+), 6 deletions(-)



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

Gerrit-Project: ffilz/nfs-ganesha
Gerrit-Branch: next
Gerrit-MessageType: newchange
Gerrit-Change-Id: I0b597c8c6b7abd51505f66da503adf269745c913
Gerrit-Change-Number: 368254
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