rq-qos: introduce dio_bio callback
authorJosef Bacik <jbacik@fb.com>
Tue, 3 Jul 2018 15:15:00 +0000 (11:15 -0400)
committerJens Axboe <axboe@kernel.dk>
Mon, 9 Jul 2018 15:07:54 +0000 (09:07 -0600)
commit67b42d0bf7a8fd1ec0cf1acdc9550e688d7c8578
treef6aab5ca56ab6ba71846d93ff81afd0d34d3a3c1
parentc1c80384c8f47021a01a0cc42894a06bed2b801b
rq-qos: introduce dio_bio callback

wbt cares only about request completion time, but controllers may need
information that is on the bio itself, so add a done_bio callback for
rq-qos so things like blk-iolatency can use it to have the bio when it
completes.

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