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: v14.1.0~214^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=ced308000aef6050ca1fdbdfe3b4b63a887a1706;p=ceph.git os/bluestore: cap reads issued during deep fsck Fixes: https://tracker.ceph.com/issues/38065 Signed-off-by: Igor Fedotov --- diff --git a/src/common/legacy_config_opts.h b/src/common/legacy_config_opts.h index 2ebc67ce5140..9053a50cb6c3 100644 --- a/src/common/legacy_config_opts.h +++ b/src/common/legacy_config_opts.h @@ -1039,6 +1039,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 c7568bde8f2c..01c46d36b217 100644 --- a/src/common/options.cc +++ b/src/common/options.cc @@ -4468,6 +4468,11 @@ std::vector