]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
mds/OpenFileTable: add option that disables dirfrags prefetch 36089/head
authorYan, Zheng <zyan@redhat.com>
Mon, 13 Jul 2020 02:50:27 +0000 (10:50 +0800)
committerYan, Zheng <zyan@redhat.com>
Tue, 25 Aug 2020 00:39:56 +0000 (08:39 +0800)
commitcc19fc624b1ee4d7e3248d1dfc8f89f8879a46bf
tree5183440a817c699e3abf59b6ac2b0d498ceefca8
parent3e7c5b4077b68ec519f9e3e98fea8fd9dcf9cbc3
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>
src/common/options.cc
src/mds/OpenFileTable.cc