]> git.baikalelectronics.ru Git - kernel.git/commit
blkio: Implement dynamic io controlling policy registration
authorVivek Goyal <vgoyal@redhat.com>
Fri, 4 Dec 2009 15:36:42 +0000 (10:36 -0500)
committerJens Axboe <jens.axboe@oracle.com>
Fri, 4 Dec 2009 15:38:14 +0000 (16:38 +0100)
commit904f4f94c50ae075d100d74e87f553c03ff12b42
tree088ebf7c4576d597774c8c332bab590dc3a472d6
parent9cf63515889461f5e4c4e362d5fcb27a7e28cbcd
blkio: Implement dynamic io controlling policy registration

o One of the goals of block IO controller is that it should be able to
  support mulitple io control policies, some of which be operational at
  higher level in storage hierarchy.

o To begin with, we had one io controlling policy implemented by CFQ, and
  I hard coded the CFQ functions called by blkio. This created issues when
  CFQ is compiled as module.

o This patch implements a basic dynamic io controlling policy registration
  functionality in blkio. This is similar to elevator functionality where
  ioschedulers register the functions dynamically.

o Now in future, when more IO controlling policies are implemented, these
  can dynakically register with block IO controller.

Signed-off-by: Vivek Goyal <vgoyal@redhat.com>
Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
block/blk-cgroup.c
block/blk-cgroup.h
block/cfq-iosched.c
block/cfq-iosched.h [deleted file]