[PATCH 3/4] nvme/loop: check for NVME_LOOP_Q_LIVE in nvme_loop_destroy_admin_queue()

Chaitanya Kulkarni Chaitanya.Kulkarni at wdc.com
Tue Jun 1 10:43:18 PDT 2021


On 5/26/21 10:11, Hannes Reinecke wrote:
> We need to check the NVME_LOOP_Q_LIVE flag in
> nvme_loop_destroy_admin_queue() to protect against duplicate
> invocations eg during concurrent reset and remove calls.
>
> Signed-off-by: Hannes Reinecke <hare at suse.de>

It will be great if we can document here what is the concurrent
reset scenario is make understanding of the patch much easy.

Looks good.

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





More information about the Linux-nvme mailing list