blk-rq-qos: refactor out common elements of blk-wbt
authorJosef Bacik <jbacik@fb.com>
Tue, 3 Jul 2018 15:32:35 +0000 (09:32 -0600)
committerJens Axboe <axboe@kernel.dk>
Mon, 9 Jul 2018 15:07:54 +0000 (09:07 -0600)
commita79050434b45959f397042080fd1d70ffa9bd9df
treed5689153d497925d326a8b7e9963f4c3f88685ea
parent2ecbf456352d0699f51b4c6d70ea5bf29766579c
blk-rq-qos: refactor out common elements of blk-wbt

blkcg-qos is going to do essentially what wbt does, only on a cgroup
basis.  Break out the common code that will be shared between blkcg-qos
and wbt into blk-rq-qos.* so they can both utilize the same
infrastructure.

Signed-off-by: Josef Bacik <jbacik@fb.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
block/Makefile
block/blk-core.c
block/blk-mq.c
block/blk-rq-qos.c [new file with mode: 0644]
block/blk-rq-qos.h [new file with mode: 0644]
block/blk-settings.c
block/blk-sysfs.c
block/blk-wbt.c
block/blk-wbt.h
include/linux/blkdev.h