mirror of
https://github.com/ceph/ceph
synced 2025-03-11 02:39:05 +00:00
global: init crush_location on daemon start
Signed-off-by: Sage Weil <sage@redhat.com>
This commit is contained in:
parent
3d71eda4b8
commit
db6e9bedf1
@ -321,6 +321,8 @@ void global_init(std::vector < const char * > *alt_def_args,
|
||||
|
||||
if (code_env == CODE_ENVIRONMENT_DAEMON && !(flags & CINIT_FLAG_NO_DAEMON_ACTIONS))
|
||||
output_ceph_version();
|
||||
|
||||
g_ceph_context->crush_location.init_on_startup();
|
||||
}
|
||||
|
||||
void global_print_banner(void)
|
||||
|
Loading…
Reference in New Issue
Block a user