]> bbs.cooldavid.org Git - net-next-2.6.git/commit - block/blk-cgroup.h
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)
commit062a644d6121d5e2f51c0b2ca0cbc5155ebf845b
tree250626a8ee11efa8e598692904e12ac26c29cab5
parentaf41d7bd9b685ab4e8f930627874ba4f4728e128
blk-cgroup: Prepare the base for supporting more than one IO control policies

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