From 21484a09e2d2c86af437e133ea89951a0915263d Mon Sep 17 00:00:00 2001 From: Kefu Chai Date: Sat, 16 Mar 2019 10:48:17 +0800 Subject: [PATCH] crimson/osd: pass unknown args to ConfigProxy::parse_args() these args are not recognized by seastar's app_template's option parser, so they are likely to be the ceph options and should be fed to ConfigProxy::parse_args() Signed-off-by: Kefu Chai --- src/crimson/osd/main.cc | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/crimson/osd/main.cc b/src/crimson/osd/main.cc index 49d4b03e5e3..64ccc389d6d 100644 --- a/src/crimson/osd/main.cc +++ b/src/crimson/osd/main.cc @@ -95,6 +95,8 @@ int main(int argc, char* argv[]) return sharded_perf_coll().start(); }).then([&conf_file_list] { return local_conf().parse_config_files(conf_file_list); + }).then([&] { + return local_conf().parse_argv(ceph_args); }).then([&] { return osd.start_single(std::stoi(local_conf()->name.get_id()), static_cast(getpid())); -- 2.39.5