Messages in this thread | | | Subject | Re: [PATCHSET v4] blk-mq-scheduling framework | From | Paolo Valente <> | Date | Mon, 23 Jan 2017 18:04:31 +0100 |
| |
> Il giorno 18 gen 2017, alle ore 17:21, Jens Axboe <axboe@fb.com> ha scritto: > > 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. >
It seems that some request, after being dispatched, happens to have no mq.put_rq_priv invoked on it now or then. Is it expected? If it is, could you point me to the path through which the end of the life of such a request is handled?
Thanks, Paolo
> -- > Jens Axboe >
| |