From: Yan, Zheng Date: Mon, 13 Jul 2020 02:50:27 +0000 (+0800) Subject: mds/OpenFileTable: add option that disables dirfrags prefetch X-Git-Tag: v15.2.9~122^2~32^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=2fc022c4cb7fa2448b6d564af1d12828ab102d38;p=ceph.git mds/OpenFileTable: add option that disables dirfrags prefetch Dirfrags prefetch may speedup rejoin stage of mds recovery. But it may use lots of memory and cause mds out of memory. Signed-off-by: "Yan, Zheng" (cherry picked from commit cc19fc624b1ee4d7e3248d1dfc8f89f8879a46bf) --- diff --git a/src/common/options.cc b/src/common/options.cc index f76a62314947..6ae016f05c57 100644 --- a/src/common/options.cc +++ b/src/common/options.cc @@ -7983,6 +7983,11 @@ std::vector