diff options
Diffstat (limited to 'block/cfq-iosched.c')
-rw-r--r-- | block/cfq-iosched.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/block/cfq-iosched.c b/block/cfq-iosched.c index 43ec3340cb58..b00ca4c86e25 100644 --- a/block/cfq-iosched.c +++ b/block/cfq-iosched.c | |||
@@ -1796,7 +1796,8 @@ static bool cfq_should_idle(struct cfq_data *cfqd, struct cfq_queue *cfqq) | |||
1796 | return false; | 1796 | return false; |
1797 | 1797 | ||
1798 | /* We do for queues that were marked with idle window flag. */ | 1798 | /* We do for queues that were marked with idle window flag. */ |
1799 | if (cfq_cfqq_idle_window(cfqq)) | 1799 | if (cfq_cfqq_idle_window(cfqq) && |
1800 | !(blk_queue_nonrot(cfqd->queue) && cfqd->hw_tag)) | ||
1800 | return true; | 1801 | return true; |
1801 | 1802 | ||
1802 | /* | 1803 | /* |