]> git.baikalelectronics.ru Git - kernel.git/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)
commitf8f8f2b5224d4c7f4ecdbee817fa36cfbea636b8
tree93a65fa0c9e5a10dea118a9594651264f08e58c6
parent3f231e333057561ee9216bf5f122fe1443dc4d13
[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