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 <dillaman@redhat.com>
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) {