Re: [PATCH 3/8] block: move rq_ioc() to blk.h

From: Jens Axboe
Date: Tue Dec 20 2016 - 10:47:13 EST


On 12/20/2016 03:12 AM, Paolo Valente wrote:
>
>> Il giorno 17 dic 2016, alle ore 01:12, Jens Axboe <axboe@xxxxxx> ha scritto:
>>
>> We want to use it outside of blk-core.c.
>>
>
> Hi Jens,
> no hooks equivalent to elevator_init_icq_fn and elevator_exit_icq_fn
> are invoked. In particular, the second hook let bfq (as with cfq)
> know when it could finally exit the queue associated with the icq.
> I'm trying to figure out how to make it without these hooks/signals,
> but at no avail so far ...

Yep, those need to be added.

--
Jens Axboe