]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
os/bluestore: unconditionally repair legacy statfs 32758/head
authorIgor Fedotov <ifedotov@suse.com>
Tue, 21 Jan 2020 19:01:02 +0000 (22:01 +0300)
committerIgor Fedotov <ifedotov@suse.com>
Thu, 23 Jan 2020 15:57:04 +0000 (18:57 +0300)
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 <ifedotov@suse.com>
src/os/bluestore/BlueStore.cc

index e23b5b83bb99f113f3ed95eb0fa6a1f4726c4e37..56d4ff13a88326597cbd7b97e1fa505aa1fa575a 100644 (file)
@@ -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