Change in ...nfs-ganesha[next]: EXPORT: fixed issue where adding duplicate ExportID failed by DBus
by MuYao Luo (GerritHub)
MuYao Luo has uploaded this change for review. ( https://review.gerrithub.io/c/ffilz/nfs-ganesha/+/518250 )
Change subject: EXPORT: fixed issue where adding duplicate ExportID failed by DBus
......................................................................
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(a)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 https://review.gerrithub.io/c/ffilz/nfs-ganesha/+/518250
To unsubscribe, or for help writing mail filters, visit https://review.gerrithub.io/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(a)zte.com.cn>
Gerrit-MessageType: newchange
3 years, 6 months
Change in ...nfs-ganesha[next]: FSAL_CEPH: register dentry release callback
by MuYao Luo (GerritHub)
MuYao Luo has uploaded this change for review. ( https://review.gerrithub.io/c/ffilz/nfs-ganesha/+/518248 )
Change subject: FSAL_CEPH: register dentry release callback
......................................................................
FSAL_CEPH: register dentry release callback
When multiple Ganesha cache handle of the same file, one
Ganesha deletes the file, the other Ganesha(CephFS Clients)
cannot respond to the request to release dentry, which results
in cache inconsistency and MDS unable to delete the file.
Change-Id: I1e63fd8f95e2667640d9e7b5f2fb3dfb669ef7d7
Signed-off-by: Luo.muyao <luo.muyao(a)zte.com.cn>
---
M src/FSAL/FSAL_CEPH/main.c
1 file changed, 11 insertions(+), 1 deletion(-)
git pull ssh://review.gerrithub.io:29418/ffilz/nfs-ganesha refs/changes/48/518248/1
--
To view, visit https://review.gerrithub.io/c/ffilz/nfs-ganesha/+/518248
To unsubscribe, or for help writing mail filters, visit https://review.gerrithub.io/settings
Gerrit-Project: ffilz/nfs-ganesha
Gerrit-Branch: next
Gerrit-Change-Id: I1e63fd8f95e2667640d9e7b5f2fb3dfb669ef7d7
Gerrit-Change-Number: 518248
Gerrit-PatchSet: 1
Gerrit-Owner: MuYao Luo <luo.muyao(a)zte.com.cn>
Gerrit-MessageType: newchange
3 years, 6 months