]> err.no Git - linux-2.6/commit
[PATCH] cfq-iosched: slice expiry fixups
authorJens Axboe <axboe@suse.de>
Tue, 28 Feb 2006 08:35:11 +0000 (09:35 +0100)
committerLinus Torvalds <torvalds@g5.osdl.org>
Tue, 28 Feb 2006 08:38:02 +0000 (00:38 -0800)
commit7b14e3b52fe5a2fb1dfa2f1f7dae4fd5f7d3fc47
tree93a65fa0c9e5a10dea118a9594651264f08e58c6
parenta8b76b491510b7591c584838d0d7922f9ffe5c2c
[PATCH] cfq-iosched: slice expiry fixups

During testing of SLES10, we encountered a hang in the CFQ io scheduler.
Turns out the deferred slice expiry logic is buggy, so remove that for
now.  We could be left with an idle queue that would never wake up.  So
kill that logic, always expire immediately.  Also fix a potential timer
race condition.

Patch looks bigger than it is, because it moves a function.

Signed-off-by: Jens Axboe <axboe@suse.de>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
block/cfq-iosched.c