[PATCH 3/3] nvme: allocate the keep alive request using BLK_MQ_REQ_NOWAIT

Chaitanya Kulkarni Chaitanya.Kulkarni at wdc.com
Wed Mar 3 21:22:46 GMT 2021


On 3/3/21 07:25, Christoph Hellwig wrote:
> To avoid an error recovery deadlock where the keep alive work is waiting
> for a request and thus can't be flushed to make progress for tearing down
> the controller.  Also print the error code returned from
> blk_mq_alloc_request to help debugging any future issues in this code.
>
> Based on an earlier patch from Hannes Reinecke <hare at suse.de>.
>
> Signed-off-by: Christoph Hellwig <hch at lst.de>
Looks good.

Reviewed-by: Chaitanya Kulkarni <chaitanya.kulkarni at wdc.com>




More information about the Linux-nvme mailing list