]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
mds: distribute dirfrags for ephemeral distributed directory
authorYan, Zheng <zyan@redhat.com>
Fri, 7 Aug 2020 15:58:19 +0000 (23:58 +0800)
committerYan, Zheng <zyan@redhat.com>
Tue, 13 Oct 2020 12:51:42 +0000 (20:51 +0800)
commitbb5ebd395f0831fd6d02d514ea1ec14f6bddbc9f
treee996820e02501be800a4eb6c04e6fdee18748988
parent2dd7d113f2f849cea686826ae3a43f7a5e1f474e
mds: distribute dirfrags for ephemeral distributed directory

Instead of distribute individual dir inodes inside the ephemeral
distributed dir. Distributing dirfrags can limit number of subtrees
created by the ephemeral dist pin.

This patch also unifies codes that handle export pin and ephemeral pin.

Fixes: https://tracker.ceph.com/issues/46696
Signed-off-by: "Yan, Zheng" <zyan@redhat.com>
13 files changed:
src/common/options.cc
src/mds/CDir.cc
src/mds/CDir.h
src/mds/CInode.cc
src/mds/CInode.h
src/mds/MDBalancer.cc
src/mds/MDCache.cc
src/mds/MDCache.h
src/mds/MDSRank.cc
src/mds/Migrator.cc
src/mds/Server.cc
src/mds/journal.cc
src/mds/mdstypes.h