Jeff Layton has uploaded this change for review.

View Change

RADOS_KV: make rados_kv and rados_ng respect nodeid setting

Proper interaction with FSAL_CEPH requires that when one server takes
over for another, that it use the same nodeid setting as the original
server. This is properly implemented in rados_cluster backend, but
not in rados_ng or rados_kv.

Implement a get_nodeid op for rados_ng and rados_kv that just clones
the rados_kv_param value if there is one.

Change-Id: I9451e79c3ea7f051062bcad093865f7744c76151
Reported-by: Lars Kellogg-Stedman <lars@redhat.com>
Signed-off-by: Jeff Layton <jlayton@redhat.com>
---
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/config_samples/ceph.conf
4 files changed, 16 insertions(+), 4 deletions(-)

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

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

Gerrit-Project: ffilz/nfs-ganesha
Gerrit-Branch: next
Gerrit-Change-Id: I9451e79c3ea7f051062bcad093865f7744c76151
Gerrit-Change-Number: 521022
Gerrit-PatchSet: 1
Gerrit-Owner: Jeff Layton <jlayton@redhat.com>
Gerrit-MessageType: newchange