[PATCH V2 0/4] block: fix concurrent quiesce
Ming Lei
ming.lei at redhat.com
Mon Nov 8 23:11:40 PST 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.
V2:
- add comment on scsi's change, as suggested by James, 3/4
- add reviewed-by tag, 4/4
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 | 62 ++++++++++++++++++++++++--------------
include/linux/blk-mq.h | 1 +
include/scsi/scsi_device.h | 1 +
5 files changed, 66 insertions(+), 30 deletions(-)
--
2.31.1
More information about the Linux-nvme
mailing list