Message ID | 1477474082-2846-9-git-send-email-paolo.valente@linaro.org |
---|---|
State | Superseded |
Headers | show |
diff --git a/block/bfq-iosched.c b/block/bfq-iosched.c index d9b0900..3b11772 100644 --- a/block/bfq-iosched.c +++ b/block/bfq-iosched.c @@ -5746,7 +5746,8 @@ static void bfq_update_idle_window(struct bfq_data *bfqd, if (atomic_read(&bic->icq.ioc->active_ref) == 0 || bfqd->bfq_slice_idle == 0 || - (bfqd->hw_tag && BFQQ_SEEKY(bfqq))) + (bfqd->hw_tag && BFQQ_SEEKY(bfqq) && + bfqq->wr_coeff == 1)) enable_idle = 0; else if (bfq_sample_valid(bic->ttime.ttime_samples)) { if (bic->ttime.ttime_mean > bfqd->bfq_slice_idle &&