>From Jeff Layton <[email protected]>:
Jeff Layton has uploaded this change for review. (
https://review.gerrithub.io/386330
Change subject: SAL: allow grace period to be lifted early if all clients have
sent RECLAIM_COMPLETE
......................................................................
SAL: allow grace period to be lifted early if all clients have sent
RECLAIM_COMPLETE
Keep track of the number of clients on the recovery list, and the number
on the list that have sent a RECLAIM_COMPLETE. v4.0 clients will never
send a RECLAIM_COMPLETE, so when those values are equal we can lift the
grace period immediately.
For now, this ignores v3 altogether. We'll probably want this to let
the grace period run to completion if any v3 SM_NOTIFYs were sent.
Maybe we should just base that on whether any exports have v3 enabled?
Also, this ignores any sort of clustering. We'll eventually need to
define a set of operations around the grace period handling so that
we can handle clustered configurations correctly.
Change-Id: Ie720da438220f7115d4458b4b995753d480d6491
Signed-off-by: Jeff Layton <[email protected]>
---
M src/Protocols/NFS/nfs4_op_reclaim_complete.c
M src/SAL/nfs4_recovery.c
M src/include/sal_data.h
M src/include/sal_functions.h
4 files changed, 57 insertions(+), 5 deletions(-)
git pull ssh://review.gerrithub.io:29418/ffilz/nfs-ganesha
refs/changes/30/386330/1
--
To view, visit https://review.gerrithub.io/386330
To unsubscribe, visit https://review.gerrithub.io/settings
Gerrit-Project: ffilz/nfs-ganesha
Gerrit-Branch: next
Gerrit-MessageType: newchange
Gerrit-Change-Id: Ie720da438220f7115d4458b4b995753d480d6491
Gerrit-Change-Number: 386330
Gerrit-PatchSet: 1
Gerrit-Owner: Jeff Layton <[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