]> bbs.cooldavid.org Git - net-next-2.6.git/commit - block/cfq-iosched.c
[PATCH] cfq-iosched: use new io context counting mechanism
authorJens Axboe <axboe@suse.de>
Wed, 19 Jul 2006 03:07:12 +0000 (05:07 +0200)
committerJens Axboe <axboe@nelson.home.kernel.dk>
Sat, 30 Sep 2006 18:29:37 +0000 (20:29 +0200)
commit4050cf1674c632c73801a561689543d4887df2ef
treef7a3e55857e917bb129d16d27458c2ff897a1864
parente4313dd423148fa729571b50c06cbc0bedf5c494
[PATCH] cfq-iosched: use new io context counting mechanism

It's ok if the read path is a lot more costly, as long as inc/dec is
really cheap. The inc/dec will happen for each created/freed io context,
while the reading only happens when a disk queue exits.

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