]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
mds: fix 'forward loop' when forward_all_requests_to_auth is set
authorYan, Zheng <zyan@redhat.com>
Mon, 17 Aug 2020 03:30:11 +0000 (11:30 +0800)
committerYan, Zheng <zyan@redhat.com>
Mon, 17 Aug 2020 08:39:48 +0000 (16:39 +0800)
commit13ca14d46aa66baf793b853d5b504a56a7e7654d
treecb55be02b664b197318a9c5cb3e7e83c90dc4d99
parentf93105e89591514f7d1974c0db37c1ecf7e29bff
mds: fix 'forward loop' when forward_all_requests_to_auth is set

When forward_all_requests_to_auth is set, remote dentry that links to
an inode with different auth can cause 'forward loop'.

Fixes: https://tracker.ceph.com/issues/46988
Signed-off-by: "Yan, Zheng" <zyan@redhat.com>
src/mds/MDCache.cc
src/mds/MDCache.h
src/mds/Server.cc
src/mds/Server.h