Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 27075
b: refs/heads/master
c: ae818a3
h: refs/heads/master
i:
  27073: cd338fe
  27071: b75924c
v: v3
  • Loading branch information
Jens Axboe committed Jun 1, 2006
1 parent 799c73c commit 15c3d88
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 5 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: 25776e3594f841b7fae7b33ebecf009a0a55bed1
refs/heads/master: ae818a38d4755ba4c16a22a8eacec859511a5393
7 changes: 3 additions & 4 deletions trunk/block/cfq-iosched.c
Original file line number Diff line number Diff line change
Expand Up @@ -2193,10 +2193,9 @@ static void cfq_idle_class_timer(unsigned long data)
* race with a non-idle queue, reset timer
*/
end = cfqd->last_end_request + CFQ_IDLE_GRACE;
if (!time_after_eq(jiffies, end)) {
cfqd->idle_class_timer.expires = end;
add_timer(&cfqd->idle_class_timer);
} else
if (!time_after_eq(jiffies, end))
mod_timer(&cfqd->idle_class_timer, end);
else
cfq_schedule_dispatch(cfqd);

spin_unlock_irqrestore(cfqd->queue->queue_lock, flags);
Expand Down

0 comments on commit 15c3d88

Please sign in to comment.