]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
mds: add an option to decide whether prefetching entire dir or not.
authorshenhang <shenhang@kuaishou.com>
Fri, 10 Sep 2021 10:59:49 +0000 (18:59 +0800)
committershenhang <shenhang@kuaishou.com>
Wed, 9 Feb 2022 09:31:46 +0000 (17:31 +0800)
commitd7feb898231099526f7f2159d56d6ba57adf063d
tree25a3bd2a14f0fd318ad5d7aebd7182ecd5cca8b9
parentb6a74b8ec14cf631e6e2c2250b4d6466a47eb0da
mds: add an option to decide whether prefetching entire dir or not.
Accessing one single dentry could be fastened by set this option to
false, when dir is not in the memory.
Signed-off-by: "Shen, Hang" <shenhang@kuaishou.com>
qa/cephfs/overrides/prefetch_entire_dirfrags/no.yaml [new file with mode: 0644]
qa/cephfs/overrides/prefetch_entire_dirfrags/yes.yaml [new file with mode: 0644]
qa/suites/fs/thrash/workloads/overrides/prefetch_entire_dirfrags [new symlink]
src/common/options/mds.yaml.in
src/mds/CDir.cc
src/mds/MDCache.cc