]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/commit - block/blk-mq-sched.h
blk-mq: pass bio to blk_mq_sched_get_rq_priv
authorPaolo Valente <paolo.valente@linaro.org>
Tue, 7 Feb 2017 17:24:43 +0000 (18:24 +0100)
committerJens Axboe <axboe@fb.com>
Fri, 10 Feb 2017 16:09:59 +0000 (09:09 -0700)
commitf1ba82616c3368e1ae9e64ef29cf3edc1be0860d
treeca90d2ba3a4aa80c593a7a6af6ef8593caa01091
parent5f478e4ea5c5560b4e40eb136991a09f9389f331
blk-mq: pass bio to blk_mq_sched_get_rq_priv

bio is used in bfq-mq's get_rq_priv, to get the request group. We could
pass directly the group here, but I thought that passing the bio was
more general, giving the possibility to get other pieces of information
if needed.

Signed-off-by: Paolo Valente <paolo.valente@linaro.org>
Signed-off-by: Jens Axboe <axboe@fb.com>
block/blk-mq-sched.c
block/blk-mq-sched.h
include/linux/elevator.h