[PATCH 0/4] nvme-loop: fixes for concurrent reset and delete

Hannes Reinecke hare at suse.de
Wed May 26 08:23:14 PDT 2021


Hi all,

during concurrent reset and delete a crash might happen as we're not
resetting all fields in the loop driver upon reset.

As usual, comments and reviews are welcome.

Hannes Reinecke (4):
  nvme/loop: reset queue count to 1 in nvme_loop_destroy_io_queues()
  nvme/loop: clear NVME_LOOP_Q_LIVE when
    nvme_loop_configure_admin_queue() fails
  nvme/loop: check for NVME_LOOP_Q_LIVE in
    nvme_loop_destroy_admin_queue()
  nvme/loop: Do not warn for deleted controllers during reset

 drivers/nvme/target/loop.c | 11 ++++++++---
 1 file changed, 8 insertions(+), 3 deletions(-)

-- 
2.29.2




More information about the Linux-nvme mailing list