From: Sage Weil Date: Thu, 9 Sep 2021 17:08:55 +0000 (-0500) Subject: os/bluestore: disable cleaner thread until it is implemented X-Git-Tag: v17.1.0~535^2~27 X-Git-Url: http://git.apps.os.sepia.ceph.com/?a=commitdiff_plain;h=c33e47af58b9e724a4b2f966c8c76cbe749eb6a9;p=ceph.git os/bluestore: disable cleaner thread until it is implemented Signed-off-by: Sage Weil --- diff --git a/src/os/bluestore/BlueStore.cc b/src/os/bluestore/BlueStore.cc index 0a9aa4f864be8..93fc3546c36b1 100644 --- a/src/os/bluestore/BlueStore.cc +++ b/src/os/bluestore/BlueStore.cc @@ -12989,12 +12989,14 @@ void BlueStore::_kv_finalize_thread() void BlueStore::_zoned_cleaner_start() { dout(10) << __func__ << dendl; + return; // temporarily disable cleaner until it actually works zoned_cleaner_thread.create("bstore_zcleaner"); } void BlueStore::_zoned_cleaner_stop() { dout(10) << __func__ << dendl; + return; // temporarily disable cleaner until it actually works { std::unique_lock l{zoned_cleaner_lock}; while (!zoned_cleaner_started) { @@ -13046,7 +13048,7 @@ void BlueStore::_zoned_cleaner_thread() void BlueStore::_zoned_clean_zone(uint64_t zone_num) { - dout(10) << __func__ << " cleaning zone " << zone_num << dendl; + dout(10) << __func__ << " cleaning zone 0x" << std::hex << zone_num << std::dec << dendl; // TODO: (1) copy live objects from zone_num to a new zone, (2) issue a RESET // ZONE operation to the device for the corresponding zone. }