* [PATCH] bfq: use configured slice_idle in bfq_bfqq_is_slow
@ 2022-11-11 23:41 Khazhismel Kumykov
0 siblings, 0 replies; only message in thread
From: Khazhismel Kumykov @ 2022-11-11 23:41 UTC (permalink / raw)
To: Paolo Valente, Jens Axboe
Cc: Arianna Avanzini, linux-block, linux-kernel, Khazhismel Kumykov
Missing a bfqd->, so we'd only ever use the default value here.
Fixes: ab0e43e9cea0 ("block, bfq: modify the peak-rate estimator")
Signed-off-by: Khazhismel Kumykov <khazhy@google.com>
---
block/bfq-iosched.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/block/bfq-iosched.c b/block/bfq-iosched.c
index 267baf84870f..827b878a0266 100644
--- a/block/bfq-iosched.c
+++ b/block/bfq-iosched.c
@@ -4160,7 +4160,7 @@ static bool bfq_bfqq_is_slow(struct bfq_data *bfqd, struct bfq_queue *bfqq,
*/
*delta_ms = BFQ_MIN_TT / NSEC_PER_MSEC;
else /* charge at least one seek */
- *delta_ms = bfq_slice_idle / NSEC_PER_MSEC;
+ *delta_ms = bfqd->bfq_slice_idle / NSEC_PER_MSEC;
return slow;
}
--
2.38.1.431.g37b22c650d-goog
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2022-11-11 23:42 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-11-11 23:41 [PATCH] bfq: use configured slice_idle in bfq_bfqq_is_slow Khazhismel Kumykov
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®