prabhu.murugeshan@ibm.com has uploaded this change for review.

View Change

As per the RFC#5661, in the cluster enviroment, the server should return
server_scope string which is common across all the NFS server in the cluster.
The NFS client will use server_scope to reclaim locks if there is a
failover from one server to another.

Currently, we are returing hostname as server_scope (in exchange id
request) which is wrong.

Added new config parameter server_scope in ganesha.main.conf and it is
settable value. The preferred value for server_scope is clustername.

Change-Id: I1ce49bac3ada0e9166491fbfce8528448ad279c2
Signed-off-by: Prabhu Murugesan <prabhu.murugeshan@ibm.com>
---
M src/Protocols/NFS/nfs4_op_exchange_id.c
M src/include/gsh_config.h
M src/support/nfs_read_conf.c
3 files changed, 23 insertions(+), 1 deletion(-)

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

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

Gerrit-Project: ffilz/nfs-ganesha
Gerrit-Branch: next
Gerrit-Change-Id: I1ce49bac3ada0e9166491fbfce8528448ad279c2
Gerrit-Change-Number: 523742
Gerrit-PatchSet: 1
Gerrit-Owner: prabhu.murugeshan@ibm.com
Gerrit-MessageType: newchange