[S] Change in ...nfs-ganesha[next]: SAL: NFS V3 locks not released prior to DBUS reply sent
Peter Schwenke has uploaded this change for review. ( https://review.gerrithub.io/c/ffilz/nfs-ganesha/+/1214151?usp=email ) Change subject: SAL: NFS V3 locks not released prior to DBUS reply sent ...................................................................... SAL: NFS V3 locks not released prior to DBUS reply sent This fixes Issue #1270. In the case of NFS V3, the reply to the DBUS command (EVENT_RELEASE_IP) for releasing an IP address might be sent before the locks have been released. This is due to to locks being released asynchronously. Therefore, when the locks are attempted to be taken by another Ganesha instance they can fail due to STATE_LOCK_CONFLICT. They will fail in vfs_lock_op2 with :fcntl returned 11 Resource temporarily unavailable Here we change the behaviour of the unlocking to be synchronous. Change-Id: Ia169f816382b8c09e1be4410d315c60a339dfd62 Signed-off-by: Peter Schwenke <pschwenke@ddn.com> --- M src/SAL/nfs4_recovery.c 1 file changed, 9 insertions(+), 14 deletions(-) git pull ssh://review.gerrithub.io:29418/ffilz/nfs-ganesha refs/changes/51/1214151/1 -- To view, visit https://review.gerrithub.io/c/ffilz/nfs-ganesha/+/1214151?usp=email To unsubscribe, or for help writing mail filters, visit https://review.gerrithub.io/settings?usp=email Gerrit-MessageType: newchange Gerrit-Project: ffilz/nfs-ganesha Gerrit-Branch: next Gerrit-Change-Id: Ia169f816382b8c09e1be4410d315c60a339dfd62 Gerrit-Change-Number: 1214151 Gerrit-PatchSet: 1 Gerrit-Owner: Peter Schwenke <pschwenke@ddn.com>
participants (1)
-
Peter Schwenke (GerritHub)