[PATCH] iosched: use hlist for request hashtable
authorAkinobu Mita <mita@miraclelinux.com>
Mon, 24 Apr 2006 19:12:59 +0000 (21:12 +0200)
committerJens Axboe <axboe@nelson.home.kernel.dk>
Fri, 23 Jun 2006 15:10:38 +0000 (17:10 +0200)
commitbae386f7884aa3720cc7880b36a41a1d2b9c327b
treee6ea0627160dc009cd825e44489583028c83791f
parent199f4c9f76fd8b030405abddf294e771f888de03
[PATCH] iosched: use hlist for request hashtable

Use hlist instead of list_head for request hashtable in deadline-iosched
and as-iosched. It also can remove the flag to know hashed or unhashed.

Signed-off-by: Akinobu Mita <mita@miraclelinux.com>
Signed-off-by: Jens Axboe <axboe@suse.de>
 block/as-iosched.c       |   45 +++++++++++++++++++--------------------------
 block/deadline-iosched.c |   39 ++++++++++++++++-----------------------
 2 files changed, 35 insertions(+), 49 deletions(-)
block/as-iosched.c
block/deadline-iosched.c