>From Sriram Patil <spsrirampa...@gmail.com>:

Sriram Patil has uploaded a new change for review. ( 
https://review.gerrithub.io/348712


Change subject: Fixing a deadlock between reaper thread and setclientid
......................................................................

Fixing a deadlock between reaper thread and setclientid

The setclientid op takes the lock on client_record->cr_mutex first, then it
goes ahead and takes a read-write lock on the hash table partition as part
of nfs_get_client_id  or remove_unconfirmed_client_id. However, this order
of taking locks is not maintained in reap_hash_table, called by reaper_run,
which was causing the deadlock.

Change-Id: Ibf66fac471cfea32c9af768a1ea6eb7f1c4847dc
Signed-off-by: Sriram Patil <spsrirampa...@gmail.com>
---
M src/MainNFSD/nfs_reaper_thread.c
1 file changed, 3 insertions(+), 1 deletion(-)



  git pull ssh://review.gerrithub.io:29419/ffilz/nfs-ganesha 
refs/changes/12/348712/1
-- 
To view, visit https://review.gerrithub.io/348712
To unsubscribe, visit https://review.gerrithub.io/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: Ibf66fac471cfea32c9af768a1ea6eb7f1c4847dc
Gerrit-Change-Number: 348712
Gerrit-PatchSet: 1
Gerrit-Project: ffilz/nfs-ganesha
Gerrit-Branch: next
Gerrit-Owner: Sriram Patil <spsrirampa...@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