]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
tools/crimson/perf_crimson_msgr: init ConfigPorxy when pref_crimson_msgr start running
authorluo rixin <luorixin@huawei.com>
Mon, 11 Jul 2022 02:28:58 +0000 (10:28 +0800)
committerluo rixin <luorixin@huawei.com>
Mon, 11 Jul 2022 07:58:13 +0000 (15:58 +0800)
commit4cdcf7f1559e0e1453f85253fe5c4bc5ef64a93d
treee3f6f340c6b305e043f0d21838d55300a3e9e899
parentea34156f1e140cb16d33bd10e5602a57f7820012
tools/crimson/perf_crimson_msgr: init ConfigPorxy when pref_crimson_msgr start running

While constructing socket connections, there are some config items needed(
`ceph::msgr::v2::FrameAssembler` need the value of `common::local_conf()->ms_crc_data`,
Access `common::local_conf()->ms_crc_data` will cause SIGSEGV without the ConfigProxy init).
So adding ConfigPorxy init before pref_crimson_msgr start running.

Fixes: https://tracker.ceph.com/issues/56520
Signed-off-by: luo rixin <luorixin@huawei.com>
src/tools/crimson/perf_crimson_msgr.cc