Peter Schwenke has uploaded this change for review. (
https://review.gerrithub.io/c/ffilz/nfs-ganesha/+/1225678?usp=email )
Change subject: SAL: Allow IP based recovery from RecovDir
......................................................................
SAL: Allow IP based recovery from RecovDir
Currently, for clustered systems the CLIDs are created in
RecoveryRoot/RecovDir/nodeX/xxxxx
The CLIDs for recovery are read from
RecoveryRoot/aa.bb.cc.dd
where aa,bb,cc,dd is an IP address.
This requires the node management software to copy
and delete the CLIDs.
The approach here allows the CLIDs to exists in
RecoveryRoot/RecovDir/ip_IP_ADDRESS_STRING
where IP_ADDRESS_STRING is an address the Ganesha
instance is listening on. The format is either IPv6
or IPv4.
The CLIDs are created in that directory and
takeover events will read from that directory.
Change-Id: Iac47a84e5c6559d37b9005e8b208bf5f4874dbbc
Signed-off-by: Peter Schwenke <pschwenke(a)ddn.com>
---
M src/SAL/nfs4_recovery.c
M src/SAL/recovery/recovery_fs.c
2 files changed, 276 insertions(+), 35 deletions(-)
git pull ssh://review.gerrithub.io:29418/ffilz/nfs-ganesha refs/changes/78/1225678/1
--
To view, visit
https://review.gerrithub.io/c/ffilz/nfs-ganesha/+/1225678?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: Iac47a84e5c6559d37b9005e8b208bf5f4874dbbc
Gerrit-Change-Number: 1225678
Gerrit-PatchSet: 1
Gerrit-Owner: Peter Schwenke <pschwenke(a)ddn.com>