Message ID | 1469636018-31247-17-git-send-email-paolo.valente@linaro.org |
---|---|
State | Superseded |
Headers | show |
diff --git a/block/cfq-iosched.c b/block/cfq-iosched.c index bdf97bc..5207ed8 100644 --- a/block/cfq-iosched.c +++ b/block/cfq-iosched.c @@ -5490,7 +5490,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 &&