Re: [WIP PATCHSET 1/4] blk-mq: pass bio to blk_mq_sched_get_rq_priv

2017-02-10 Thread Jens Axboe
On 02/07/2017 10:24 AM, Paolo Valente wrote: > 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. I applied this one,

[WIP PATCHSET 1/4] blk-mq: pass bio to blk_mq_sched_get_rq_priv

2017-02-07 Thread Paolo Valente
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 ---