[PATCH] cfq-iosched: fix bug in timer handling for the idle class
authorJens Axboe <axboe@suse.de>
Thu, 1 Jun 2006 08:13:43 +0000 (10:13 +0200)
committerJens Axboe <axboe@suse.de>
Thu, 1 Jun 2006 08:13:43 +0000 (10:13 +0200)
There's a small window from when the timer is entered and we grab
the queue lock, where cfq_set_active_queue() could be rearming the
timer for us. Seen in the wild on a 12-way ppc box. Fix this by
just using mod_timer(), which will do the right thing for us.

Signed-off-by: Jens Axboe <axboe@suse.de>
block/cfq-iosched.c

Simple merge