[PATCH 02/47] block: fix blk_abort_request for blk-mq drivers

Jens Axboe axboe at fb.com
Fri Nov 20 13:47:30 PST 2015


On 11/20/2015 02:43 PM, Jeff Moyer wrote:
> Christoph Hellwig <hch at lst.de> writes:
>
>> We only added the request to the request list for the !blk-mq case,
>> so we should only delete it in that case as well.
>
> Sorry, I don't follow.  Do you mean the timeout_list?  It appears to me
> that blk_add_timer is called for both the old and mq paths.

It is called for both, but only !mq adds it to the list. We don't need 
that tracking on the mq side, as we can look it up in our tags.

-- 
Jens Axboe




More information about the Linux-nvme mailing list