]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
mds/OpenFileTable: add option that disables dirfrags prefetch 37383/head
authorYan, Zheng <zyan@redhat.com>
Mon, 13 Jul 2020 02:50:27 +0000 (10:50 +0800)
committerYan, Zheng <zyan@redhat.com>
Fri, 9 Oct 2020 16:02:44 +0000 (00:02 +0800)
commit2fc022c4cb7fa2448b6d564af1d12828ab102d38
tree68bd5e582e7aeff1cdb8d1f3f9235f32237fa043
parent536d3484bd0d6fd8315552cb4fce9927632a340b
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" <zyan@redhat.com>
(cherry picked from commit cc19fc624b1ee4d7e3248d1dfc8f89f8879a46bf)
src/common/options.cc
src/mds/OpenFileTable.cc