Re: [PATCHSET v4] blk-mq-scheduling framework

From: Jens Axboe
Date: Wed Jan 18 2017 - 11:21:42 EST


On 01/18/2017 08:14 AM, Paolo Valente wrote:
> according to the function blk_mq_sched_put_request, the
> mq.completed_request hook seems to always be invoked (if set) for a
> request for which the mq.put_rq_priv is invoked (if set).

Correct, any request that came out of blk_mq_sched_get_request()
will always have completed called on it, regardless of whether it
had IO started on it or not.

--
Jens Axboe