block: remove external dependency on wbt_flags
authorJosef Bacik <jbacik@fb.com>
Tue, 3 Jul 2018 15:14:59 +0000 (11:14 -0400)
committerJens Axboe <axboe@kernel.dk>
Mon, 9 Jul 2018 15:07:54 +0000 (09:07 -0600)
commitc1c80384c8f47021a01a0cc42894a06bed2b801b
treee3fb3b3ddf6c58eea32d49989875ca39c0ba382c
parenta79050434b45959f397042080fd1d70ffa9bd9df
block: remove external dependency on wbt_flags

We don't really need to save this stuff in the core block code, we can
just pass the bio back into the helpers later on to derive the same
flags and update the rq->wbt_flags appropriately.

Signed-off-by: Josef Bacik <jbacik@fb.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
block/blk-core.c
block/blk-mq.c
block/blk-rq-qos.c
block/blk-rq-qos.h
block/blk-wbt.c
block/blk-wbt.h