>From Malahal <[email protected]>:

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


Change subject: Avoid multiple states for the same owner and object
......................................................................

Avoid multiple states for the same owner and object

If a client sends multiple requests with the same owner and create(open)
operation with the same name, we end up creating multiple states. This
makes ganesha unable to remove states from the owner list except the
last state as nfs4_State_Del() fails for those states (don't exits in
the ht_state_obj hashtable). This leads to an infinite loop in
release_openstate.

Replaced SET_OVERWRITE with NO_OVERWRITE which will detect this and
avoids the situation.

Change-Id: Ia0774280ca534bea3efa222e4c544625c8785f9c
Signed-off-by: Malahal Naineni <[email protected]>
---
M src/SAL/nfs4_state.c
M src/SAL/nfs4_state_id.c
2 files changed, 16 insertions(+), 19 deletions(-)



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

Gerrit-Project: ffilz/nfs-ganesha
Gerrit-Branch: next
Gerrit-MessageType: newchange
Gerrit-Change-Id: Ia0774280ca534bea3efa222e4c544625c8785f9c
Gerrit-Change-Number: 386676
Gerrit-PatchSet: 1
Gerrit-Owner: Malahal <[email protected]>
------------------------------------------------------------------------------
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
[email protected]
https://lists.sourceforge.net/lists/listinfo/nfs-ganesha-devel

Reply via email to