[PATCH 0/4] block: fix concurrent quiesce
Ming Lei
ming.lei at redhat.com
Tue Nov 2 20:43:01 PDT 2021
Hi Jens,
Convert SCSI into balanced quiesce and unquiesce by using atomic
variable as suggested by James, meantime fix previous nvme conversion by
adding one new API because we have to wait until the started quiesce is
done.
Ming Lei (4):
blk-mq: add one API for waiting until quiesce is done
scsi: avoid to quiesce sdev->request_queue two times
scsi: make sure that request queue queiesce and unquiesce balanced
nvme: wait until quiesce is done
block/blk-mq.c | 28 +++++++++++++------
drivers/nvme/host/core.c | 4 +++
drivers/scsi/scsi_lib.c | 55 +++++++++++++++++++++++---------------
include/linux/blk-mq.h | 1 +
include/scsi/scsi_device.h | 1 +
5 files changed, 59 insertions(+), 30 deletions(-)
--
2.31.1
More information about the Linux-nvme
mailing list