blk-cgroup: Prepare the base for supporting more than one IO control policies
authorVivek Goyal <vgoyal@redhat.com>
Wed, 15 Sep 2010 21:06:33 +0000 (17:06 -0400)
committerJens Axboe <jaxboe@fusionio.com>
Thu, 16 Sep 2010 06:42:04 +0000 (08:42 +0200)
o This patch prepares the base for introducing new IO control policies.
  Currently all the code is written knowing there is only one policy
  and that is proportional bandwidth. Creating infrastructure for newer
  policies to come in.

o Also there were many functions which were generated using macro. It was
  very confusing. Got rid of those.

Signed-off-by: Vivek Goyal <vgoyal@redhat.com>
Signed-off-by: Jens Axboe <jaxboe@fusionio.com>
block/blk-cgroup.c
block/blk-cgroup.h
block/cfq-iosched.c
block/cfq.h

Simple merge
Simple merge
Simple merge
diff --cc block/cfq.h
Simple merge