From: Igor Fedotov Date: Sun, 8 Sep 2019 22:37:13 +0000 (+0300) Subject: os/bluestore: parallelize quick-fix running. X-Git-Tag: v14.2.5~17^2~6 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=c1178c4ffe9cc43c41764f52741a66053c4ea27e;p=ceph.git os/bluestore: parallelize quick-fix running. Signed-off-by: Igor Fedotov (cherry picked from commit c432f2268db60eb701fd9b17618537513f5d4eea) Conflicts: src/os/bluestore/BlueStore.cc - trivial --- diff --git a/src/common/legacy_config_opts.h b/src/common/legacy_config_opts.h index a7c8907bf2d7..d9ea52b29287 100644 --- a/src/common/legacy_config_opts.h +++ b/src/common/legacy_config_opts.h @@ -1050,6 +1050,7 @@ OPTION(bluestore_fsck_on_mkfs, OPT_BOOL) OPTION(bluestore_fsck_on_mkfs_deep, OPT_BOOL) OPTION(bluestore_sync_submit_transaction, OPT_BOOL) // submit kv txn in queueing thread (not kv_sync_thread) OPTION(bluestore_fsck_read_bytes_cap, OPT_U64) +OPTION(bluestore_fsck_quick_fix_threads, OPT_INT) OPTION(bluestore_throttle_bytes, OPT_U64) OPTION(bluestore_throttle_deferred_bytes, OPT_U64) OPTION(bluestore_throttle_cost_per_io_hdd, OPT_U64) diff --git a/src/common/options.cc b/src/common/options.cc index f22fe1a89da4..1b63c5516b0e 100644 --- a/src/common/options.cc +++ b/src/common/options.cc @@ -4759,6 +4759,10 @@ std::vector