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>tirimbino
parent
9d6a986c0b
commit
3e25206689
@ -1,7 +0,0 @@ |
||||
#ifndef CFQ_IOSCHED_H |
||||
#define CFQ_IOSCHED_H |
||||
|
||||
void cfq_unlink_blkio_group(void *, struct blkio_group *); |
||||
void cfq_update_blkio_group_weight(struct blkio_group *, unsigned int); |
||||
|
||||
#endif |
Loading…
Reference in new issue