>From Jeff Layton <jlay...@redhat.com>:
Jeff Layton has uploaded this change for review. (
https://review.gerrithub.io/382846
Change subject: mdcache: don't hold the attr_lock for write over the setattr2
call
......................................................................
mdcache: don't hold the attr_lock for write over the setattr2 call
This is problematic, as some FSALs (e.g. Ceph) can take quite some time
to do their work. During this, getattr activity is stuck, and that can
lead to some deadlock situations with delegation returns.
Do the setattr2 call without holding the mutex, and only take it to
update the cache.
Change-Id: I08e2e752357e76d77583bd22f15f8bd72d71f39e
Signed-off-by: Jeff Layton <jlay...@redhat.com>
---
M src/FSAL/Stackable_FSALs/FSAL_MDCACHE/mdcache_handle.c
1 file changed, 3 insertions(+), 7 deletions(-)
git pull ssh://review.gerrithub.io:29418/ffilz/nfs-ganesha
refs/changes/46/382846/1
--
To view, visit https://review.gerrithub.io/382846
To unsubscribe, visit https://review.gerrithub.io/settings
Gerrit-Project: ffilz/nfs-ganesha
Gerrit-Branch: next
Gerrit-MessageType: newchange
Gerrit-Change-Id: I08e2e752357e76d77583bd22f15f8bd72d71f39e
Gerrit-Change-Number: 382846
Gerrit-PatchSet: 1
Gerrit-Owner: Jeff Layton <jlay...@redhat.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