>From <madhu.punj...@in.ibm.com>:
madhu.punj...@in.ibm.com has uploaded this change for review. (
https://review.gerrithub.io/366891
Change subject: GPFS: Use "obj_lock" when closing fd.
......................................................................
GPFS: Use "obj_lock" when closing fd.
Currently gpfs_close() does not use lock when closing a
file descriptor. Thus when the same file is removed by two
clients at the same time, there is a chance to see a
CRIT message with error ERR_FSAL_NOT_OPENED in the log for
one of the clients.
To fix this we now close the file descriptor under the lock
"obj_lock".
Change-Id: I6e5f74e2d6985b8c5952c18021cf296ae291bc7b
Signed-off-by: Madhu Thorat <madhu.punj...@in.ibm.com>
---
M src/FSAL/FSAL_GPFS/file.c
1 file changed, 6 insertions(+), 0 deletions(-)
git pull ssh://review.gerrithub.io:29418/ffilz/nfs-ganesha
refs/changes/91/366891/1
--
To view, visit https://review.gerrithub.io/366891
To unsubscribe, visit https://review.gerrithub.io/settings
Gerrit-Project: ffilz/nfs-ganesha
Gerrit-Branch: next
Gerrit-MessageType: newchange
Gerrit-Change-Id: I6e5f74e2d6985b8c5952c18021cf296ae291bc7b
Gerrit-Change-Number: 366891
Gerrit-PatchSet: 1
Gerrit-Owner: madhu.punj...@in.ibm.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