MuYao Luo has uploaded this change for review.

View Change

EXPORT: fixed issue where adding duplicate ExportID failed by DBus

When use CEPH_FSAL as backend, if we add existing ExportID by DBus,
it will cause the active EXPORT to disconnect from the MDS, and occur
-108 error.

Each EXPORT is a CephFS client and set different UUID, the same ExportID
has the same UUID, after fail to add an existing ExportID and goes to
the release duplicate EXPORT process, this triggers MDS to disconnect
all client connections that have the UUID, include active export.

Change-Id: If5a7147b5b63714b339774dac1fcbaaac806ef42
Signed-off-by: Luo.muyao <luo.muyao@zte.com.cn>
---
M src/config_parsing/config_parsing.c
M src/include/config_parsing.h
M src/support/exports.c
3 files changed, 29 insertions(+), 1 deletion(-)

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

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

Gerrit-Project: ffilz/nfs-ganesha
Gerrit-Branch: next
Gerrit-Change-Id: If5a7147b5b63714b339774dac1fcbaaac806ef42
Gerrit-Change-Number: 518250
Gerrit-PatchSet: 1
Gerrit-Owner: MuYao Luo <luo.muyao@zte.com.cn>
Gerrit-MessageType: newchange