From: Igor Fedotov Date: Mon, 28 Jan 2019 15:17:52 +0000 (+0300) Subject: os/bluestore: cap reads issued during deep fsck X-Git-Tag: v13.2.5~41^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=93def74935e87cda7efccad82c6d0c6ac7db0bbc;p=ceph.git os/bluestore: cap reads issued during deep fsck Fixes: https://tracker.ceph.com/issues/38065 Signed-off-by: Igor Fedotov (cherry picked from commit ced308000aef6050ca1fdbdfe3b4b63a887a1706) --- diff --git a/src/common/legacy_config_opts.h b/src/common/legacy_config_opts.h index 4dc62a2e8b41..a664e9b18f46 100644 --- a/src/common/legacy_config_opts.h +++ b/src/common/legacy_config_opts.h @@ -1042,6 +1042,7 @@ OPTION(bluestore_fsck_on_umount_deep, OPT_BOOL) 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_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 3bcf3a5ef5a7..5cdb1f33259a 100644 --- a/src/common/options.cc +++ b/src/common/options.cc @@ -4190,6 +4190,11 @@ std::vector