Skip to content
Snippets Groups Projects
Commit ae818a38 authored by Jens Axboe's avatar Jens Axboe
Browse files

[PATCH] cfq-iosched: fix bug in timer handling for the idle class


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: default avatarJens Axboe <axboe@suse.de>
parent 25776e35
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment