[PATCH] as-iosched: use new io context counting mechanism
authorJens Axboe <axboe@suse.de>
Wed, 19 Jul 2006 03:10:01 +0000 (05:10 +0200)
committerJens Axboe <axboe@nelson.home.kernel.dk>
Sat, 30 Sep 2006 18:29:37 +0000 (20:29 +0200)
commite4313dd423148fa729571b50c06cbc0bedf5c494
tree7524020d6d822b06aa433c1252a4926b91a8b328
parent4a893e837bb470867d74c05d6c6b97bba5a96185
[PATCH] as-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/as-iosched.c