]> git.baikalelectronics.ru Git - kernel.git/commit
cfq-iosched: add hlist for browsing parallel to the radix tree
authorJens Axboe <jens.axboe@oracle.com>
Tue, 19 Feb 2008 09:02:29 +0000 (10:02 +0100)
committerJens Axboe <jens.axboe@oracle.com>
Tue, 19 Feb 2008 09:04:00 +0000 (10:04 +0100)
commit1493296aaa924d9673e3ed122a6a2300c42af89f
tree9b95aca67ea7c9e87254da501f73cca64504051d
parentea811b4bfe5cd0a6061afcff853c28573fdb99e1
cfq-iosched: add hlist for browsing parallel to the radix tree

It's cumbersome to browse a radix tree from start to finish, especially
since we modify keys when a process exits. So add a hlist for the single
purpose of browsing over all known cfq_io_contexts, used for exit,
io prio change, etc.

This fixes http://bugzilla.kernel.org/show_bug.cgi?id=9948

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
block/blk-ioc.c
block/cfq-iosched.c
include/linux/iocontext.h