]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit277d361ad56277308790af110d2cde3626b70ade
treef6aab5ca56ab6ba71846d93ff81afd0d34d3a3c1
parent7ca0545cdfbcab62616f1dd25eacb757a42938f1
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