From: Yan, Zheng Date: Fri, 7 Aug 2020 15:58:19 +0000 (+0800) Subject: mds: distribute dirfrags for ephemeral distributed directory X-Git-Tag: v16.1.0~859^2~1 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=bb5ebd395f0831fd6d02d514ea1ec14f6bddbc9f;p=ceph.git 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" --- diff --git a/src/common/options.cc b/src/common/options.cc index 5ff30939968..ee79029e973 100644 --- a/src/common/options.cc +++ b/src/common/options.cc @@ -8113,6 +8113,12 @@ std::vector