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

Malahal has uploaded a new change for review. ( 
https://review.gerrithub.io/343710


Change subject: WIP: Fix a race in nfs_dupreq_put_drc with nfs_dupreq_get_drc
......................................................................

WIP: Fix a race in nfs_dupreq_put_drc with nfs_dupreq_get_drc

When the drc refcount goes to zero, nfs_dupreq_put_drc() puts the drc
into a recyle list. The list insertion and the flag bit DRC_FLAG_RECYCLE
should be atomic.  nfs_dupreq_put_drc() needs to recheck the flag after
dropping the lock and re-acquiring it.

Change-Id: I6081f4496e82f7b7c9ea79a0c58cbd3c91417e87
Signed-off-by: Malahal Naineni <mala...@us.ibm.com>
---
M src/RPCAL/nfs_dupreq.c
1 file changed, 31 insertions(+), 16 deletions(-)



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

Gerrit-MessageType: newchange
Gerrit-Change-Id: I6081f4496e82f7b7c9ea79a0c58cbd3c91417e87
Gerrit-Change-Number: 343710
Gerrit-PatchSet: 1
Gerrit-Project: ffilz/nfs-ganesha
Gerrit-Branch: next
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