[M] Change in ...nfs-ganesha[next]: feat(recovery_fs): reject reclaim in edge conditions
Zhitao Li has uploaded this change for review. ( https://review.gerrithub.io/c/ffilz/nfs-ganesha/+/1205392?usp=email ) Change subject: feat(recovery_fs): reject reclaim in edge conditions ...................................................................... feat(recovery_fs): reject reclaim in edge conditions This commit enforces the state reclaim in recovery_fs backend. On OP_RECLAIM_COMPLETE, a file named `reclaim_complete` is created under the directory of the client id, like revoked file handles. When recovery starts, the existence of this file fills the client record in add_clid_entry() callback, which will be used to decide whether the relevant client can reclaim states or not. Change-Id: Ied2bbfd044594531a6580758032de30d16859c3e Signed-off-by: zhitaoli <zhitao.li@iomesh.com> --- M src/SAL/recovery/recovery_fs.c 1 file changed, 112 insertions(+), 23 deletions(-) git pull ssh://review.gerrithub.io:29418/ffilz/nfs-ganesha refs/changes/92/1205392/1 -- To view, visit https://review.gerrithub.io/c/ffilz/nfs-ganesha/+/1205392?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: Ied2bbfd044594531a6580758032de30d16859c3e Gerrit-Change-Number: 1205392 Gerrit-PatchSet: 1 Gerrit-Owner: Zhitao Li <zhitao.li@iomesh.com>
participants (1)
-
Zhitao Li (GerritHub)