[PATCH 2/2] nvme-multipath: don't block on blk_queue_enter of the underlying device

Christoph Hellwig hch at lst.de
Tue Mar 23 16:17:02 GMT 2021


On Tue, Mar 23, 2021 at 04:13:09PM +0800, Chao Leng wrote:
>> The above reproduces with the patch applied on upstream nvme code.The new patch(blk_mq_submit_bio_direct) will cause the bug again.
> Because it revert add the bio to current->bio_list.
> Just try the upstream nvme code, and do not apply the new patch(blk_mq_submit_bio_direct).

Indeed, the patch removes the deferred submission, so the original
deadlock should not happen.



More information about the Linux-nvme mailing list