From: Jason Dillaman Date: Thu, 30 Jul 2020 17:12:20 +0000 (-0400) Subject: rbd: let librados finish initializing the global context X-Git-Tag: v16.1.0~1354^2~4 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=f6c6887fe702190c65245502f04aba5941a4fa15;p=ceph.git rbd: let librados finish initializing the global context librados will retrieve a bootstrap config update from the MONs after connecting and then finish initializing the context. In general, non-primitive config options cannot be updated after initialization is complete. This prevents the rbd CLI from supporting non-primitive config overrides from the MON. Signed-off-by: Jason Dillaman --- diff --git a/src/tools/rbd/Utils.cc b/src/tools/rbd/Utils.cc index 52c569f44feb..e9497fbe417b 100644 --- a/src/tools/rbd/Utils.cc +++ b/src/tools/rbd/Utils.cc @@ -677,7 +677,6 @@ int get_snap_create_flags(const po::variables_map &vm, uint32_t *flags) { void init_context() { g_conf().set_val_or_die("rbd_cache_writethrough_until_flush", "false"); g_conf().apply_changes(nullptr); - common_init_finish(g_ceph_context); } int init_rados(librados::Rados *rados) {