• Vivek Goyal's avatar
    blkio: Implement dynamic io controlling policy registration · 3e252066
    Vivek Goyal authored
    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: default avatarVivek Goyal <vgoyal@redhat.com>
    Signed-off-by: default avatarJens Axboe <jens.axboe@oracle.com>
    3e252066
blk-cgroup.h 3.6 KB