Skip to content

block: fix concurrent quiesce

Ming Lei linux-block linux-nvme linux-scsi 2 versions – Applied

Status from this message: Applied, thanks!

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest4 patches 2 repliesApplied
  2. v14 patches 7 repliesSuperseded

Changes in v2 from the cover letter

- add comment on scsi's change, as suggested by James, 3/4
- add reviewed-by tag, 4/4

Patches in v2 Applied

#Subject and filesSizeRepliesApplied
1/4blk-mq: add one API for waiting until quiesce is doneblock/blk-mq.c include/linux/blk-mq.h+21 -80 replies
2/4scsi: avoid to quiesce sdev->request_queue two timesdrivers/scsi/scsi_lib.c+14 -150 replies
3/4scsi: make sure that request queue queiesce and unquiesce balanceddrivers/scsi/scsi_lib.c include/scsi/scsi_device.h+29 -90 replies
4/4nvme: wait until quiesce is donedrivers/nvme/host/core.c+4 -00 replies

Reviews trailers per patch

1 of 4 patches has a Reviewed-by or Acked-by of their own; the series has one for all of them.

PatchKeith BuschMartin K. Petersen
SeriesR-b
1/4
2/4
3/4
4/4R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v2 thread

Cover letter [PATCH V2 0/4] block: fix concurrent quiesce

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(-)
Signature · 1 line
2.31.1