• V
    blkio: Implement dynamic io controlling policy registration · 3e252066
    Vivek Goyal 提交于
    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: NVivek Goyal <vgoyal@redhat.com>
    Signed-off-by: NJens Axboe <jens.axboe@oracle.com>
    3e252066
blk-cgroup.c 9.1 KB