bfq: use configured slice_idle in bfq_bfqq_is_slow
Subsystems (2)
PATCH 1/1 bfq: use configured slice_idle in bfq_bfqq_is_slow
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 <[email protected]>
--- block/bfq-iosched.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
block/bfq-iosched.c +1 -1
@@ -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; }
Signature · 1 line
2.38.1.431.g37b22c650d-goog