Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 173010
b: refs/heads/master
c: 3c764b7
h: refs/heads/master
v: v3
  • Loading branch information
Shaohua Li authored and Jens Axboe committed Dec 4, 2009
1 parent b05b3b1 commit e6e0017
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 237e5bc4e51813e9d8ba9da0f63e7acc608882d7
refs/heads/master: 3c764b7a654668dd04905841d6024f7b6aa843a5
3 changes: 2 additions & 1 deletion trunk/block/cfq-iosched.c
Original file line number Diff line number Diff line change
Expand Up @@ -1796,7 +1796,8 @@ static bool cfq_should_idle(struct cfq_data *cfqd, struct cfq_queue *cfqq)
return false;

/* We do for queues that were marked with idle window flag. */
if (cfq_cfqq_idle_window(cfqq))
if (cfq_cfqq_idle_window(cfqq) &&
!(blk_queue_nonrot(cfqd->queue) && cfqd->hw_tag))
return true;

/*
Expand Down

0 comments on commit e6e0017

Please sign in to comment.