From: Igor Fedotov Date: Tue, 21 Jan 2020 19:01:02 +0000 (+0300) Subject: os/bluestore: unconditionally repair legacy statfs X-Git-Tag: v15.1.0~51^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=refs%2Fpull%2F32758%2Fhead;p=ceph.git 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 --- 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