From 8ad870fc49b13d2657543ff09dc181634865fd05 Mon Sep 17 00:00:00 2001 From: Glauber Costa Date: Wed, 8 Aug 2018 13:40:29 -0400 Subject: [PATCH] reactor: switch indentation Signed-off-by: Glauber Costa Message-Id: <20180808174029.12521-5-glauber@scylladb.com> --- core/reactor.cc | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/core/reactor.cc b/core/reactor.cc index 1c11ff8cc34..3c73321fba3 100644 --- a/core/reactor.cc +++ b/core/reactor.cc @@ -4066,15 +4066,15 @@ class disk_config_params { cfg.capacity = per_io_queue(_capacity); if (cfg.capacity == std::numeric_limits::max()) { - cfg.disk_bytes_write_to_read_multiplier = (io_queue::read_request_base_count * p.read_bytes_rate) / p.write_bytes_rate; - cfg.disk_req_write_to_read_multiplier = (io_queue::read_request_base_count * p.read_req_rate) / p.write_req_rate; - cfg.max_req_count = max_bandwidth == std::numeric_limits::max() - ? std::numeric_limits::max() - : io_queue::read_request_base_count * per_io_queue(max_iops * _latency_goal.count()); - cfg.max_bytes_count = max_iops == std::numeric_limits::max() - ? std::numeric_limits::max() - : io_queue::read_request_base_count * per_io_queue(max_bandwidth * _latency_goal.count()); - cfg.mountpoint = p.mountpoint; + cfg.disk_bytes_write_to_read_multiplier = (io_queue::read_request_base_count * p.read_bytes_rate) / p.write_bytes_rate; + cfg.disk_req_write_to_read_multiplier = (io_queue::read_request_base_count * p.read_req_rate) / p.write_req_rate; + cfg.max_req_count = max_bandwidth == std::numeric_limits::max() + ? std::numeric_limits::max() + : io_queue::read_request_base_count * per_io_queue(max_iops * _latency_goal.count()); + cfg.max_bytes_count = max_iops == std::numeric_limits::max() + ? std::numeric_limits::max() + : io_queue::read_request_base_count * per_io_queue(max_bandwidth * _latency_goal.count()); + cfg.mountpoint = p.mountpoint; } else { cfg.disk_bytes_write_to_read_multiplier = 1; cfg.disk_req_write_to_read_multiplier = 1;