Message ID | 1454364778-25179-17-git-send-email-paolo.valente@linaro.org (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
diff --git a/block/cfq-iosched.c b/block/cfq-iosched.c index 281943e..40feb47 100644 --- a/block/cfq-iosched.c +++ b/block/cfq-iosched.c @@ -4439,7 +4439,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 &&