]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
librados: fix common_init_finish timing
authorSage Weil <sage@redhat.com>
Wed, 28 Feb 2018 21:37:34 +0000 (15:37 -0600)
committerSage Weil <sage@redhat.com>
Tue, 6 Mar 2018 20:44:50 +0000 (14:44 -0600)
commit9aeced33eeb2fe2ce94b9295e073469170bd675a
tree7456045c6dd824b0cb6c1af0f13d4cb2069b0bab
parent12062e7d8766522c51aa88e83070cfba409c6461
librados: fix common_init_finish timing

Common_init_finish does start_service_thread and does
set_safe_to_start_threads() on the cct, which switches us to 'runtime'
mode where we can't accept many config options. Do that *after* we fetch
our config from the mon so that we can accept+set runtime options (and
not complain to stderr about it).

Signed-off-by: Sage Weil <sage@redhat.com>
src/librados/RadosClient.cc