]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
common/config: extract get_conffile_paths() out
authorKefu Chai <kchai@redhat.com>
Wed, 29 Jul 2020 09:24:59 +0000 (17:24 +0800)
committerKefu Chai <kchai@redhat.com>
Sat, 1 Aug 2020 16:01:47 +0000 (00:01 +0800)
commitcd53ff88b7b0e4146ed74e2a9aac3a651b2be5cc
tree9a599163a4eb7113165ea5c58be06158db3a643d
parent9403600df1fd968609cc4085c71daadb00df7a9a
common/config: extract get_conffile_paths() out

md_config_t::parse_config_files() performs blocked i/o, and it might be
detected by the stall detector of seastar, and it spills out warning
messages when it sees the hang.

so i plan to implement an asynchronized parse_config_files() for
crimson, and reuse the synchronized part from the blocking
implementation of parse_config_files(). this is the first step.

Signed-off-by: Kefu Chai <kchai@redhat.com>
src/common/config.cc
src/common/config.h