Frank Filz has uploaded this change for review.

View Change

Pass failure to add clientid to recovery database back to client

Previously we would log an error, but leave the client with no
clue that it would not be able to reclaim state in the case of
a server failure.

The failure will be reported to the client as NFS4ERR_SERVERFAULT
on SET_CLIENDID_CONFIRM or CREATE_SESSION.

Change-Id: If68312abcd06ff5bcc010ebd84d1421717b839a3
Signed-off-by: Frank S. Filz <ffilzlnx@mindspring.com>
---
M src/SAL/nfs4_clientid.c
M src/SAL/nfs4_recovery.c
M src/SAL/recovery/recovery_fs.c
M src/SAL/recovery/recovery_fs.h
M src/SAL/recovery/recovery_rados.h
M src/SAL/recovery/recovery_rados_kv.c
M src/SAL/recovery/recovery_rados_ng.c
M src/include/sal_data.h
M src/include/sal_functions.h
9 files changed, 74 insertions(+), 20 deletions(-)

git pull ssh://review.gerrithub.io:29418/ffilz/nfs-ganesha refs/changes/81/553781/1

To view, visit change 553781. To unsubscribe, or for help writing mail filters, visit settings.

Gerrit-Project: ffilz/nfs-ganesha
Gerrit-Branch: next
Gerrit-Change-Id: If68312abcd06ff5bcc010ebd84d1421717b839a3
Gerrit-Change-Number: 553781
Gerrit-PatchSet: 1
Gerrit-Owner: Frank Filz <ffilzlnx@mindspring.com>
Gerrit-MessageType: newchange