Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 180167
b: refs/heads/master
c: 1efe8fe
h: refs/heads/master
i:
  180165: cca0b44
  180163: a3a9a92
  180159: f31f4ce
v: v3
  • Loading branch information
Vivek Goyal authored and Jens Axboe committed Feb 2, 2010
1 parent cf2b351 commit f47ee85
Show file tree
Hide file tree
Showing 2 changed files with 2 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: bcf4dd43424cdfd8195f3955300a579fe58e9911
refs/heads/master: 1efe8fe1c2240acc476bed77740883df63373862
2 changes: 1 addition & 1 deletion trunk/block/cfq-iosched.c
Original file line number Diff line number Diff line change
Expand Up @@ -1803,7 +1803,7 @@ static bool cfq_should_idle(struct cfq_data *cfqd, struct cfq_queue *cfqq)
* Otherwise, we do only if they are the last ones
* in their service tree.
*/
return service_tree->count == 1;
return service_tree->count == 1 && cfq_cfqq_sync(cfqq);
}

static void cfq_arm_slice_timer(struct cfq_data *cfqd)
Expand Down

0 comments on commit f47ee85

Please sign in to comment.