From 06fe9875278dd49a7e6d089da160d978fa54d22e Mon Sep 17 00:00:00 2001 From: Igor Fedotov Date: Tue, 21 Jan 2020 22:01:02 +0300 Subject: [PATCH] os/bluestore: unconditionally repair legacy statfs To be inline with per-pool omaps let's repair legacy statfs no matter what's the value (true or false) is set to 'bluestore_fsck_error_on_no_per_pool_omap' parameter. I.e. repair will bring per-pool statfs even when legacy statfs are considered as warning. Signed-off-by: Igor Fedotov --- src/os/bluestore/BlueStore.cc | 1 - 1 file changed, 1 deletion(-) diff --git a/src/os/bluestore/BlueStore.cc b/src/os/bluestore/BlueStore.cc index e23b5b83bb99..56d4ff13a883 100644 --- a/src/os/bluestore/BlueStore.cc +++ b/src/os/bluestore/BlueStore.cc @@ -7263,7 +7263,6 @@ void BlueStore::_fsck_check_pool_statfs( ++errors; } if (!per_pool_stat_collection && - cct->_conf->bluestore_fsck_error_on_no_per_pool_stats && repairer) { // by virtue of running this method, we correct the top-level // error of having global stats -- 2.47.3