Skip to content

block: keep quiesce & unquiesce balanced for scsi/dm

Ming Lei dm-devel linux-block linux-scsi 1 version Applied

Status from this message: Applied, thanks!

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest3 patches 12 repliesApplied

Patches in v1 Applied

#Subject and filesSizeRepliesApplied
1/3scsi: avoid to quiesce sdev->request_queue two timesdrivers/scsi/scsi_lib.c+14 -150 replies
2/3scsi: make sure that request queue queiesce and unquiesce balanceddrivers/scsi/scsi_lib.c include/scsi/scsi_device.h+37 -99 replies
3/3dm: don't stop request queue after the dm device is suspendeddrivers/md/dm.c+0 -101 reply

Reviews trailers per patch

1 of 3 patches has a Reviewed-by or Acked-by.

PatchYi ZhangMike Snitzer
SeriesT-b
1/3
2/3
3/3A-b

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

Read the v1 thread

Cover letter [PATCH 0/3] block: keep quiesce & unquiesce balanced for scsi/dm

Hello Jens,

Recently we merge the patch of e70feb8b3e68 ("blk-mq: support concurrent queue quiesce/unquiesce") for fixing race between driver and block layer wrt. queue quiesce.

Yi reported that srp/002 is broken with this patch, turns out scsi and dm don't keep the two balanced actually.

So fix dm and scsi and make srp/002 pass again.

Ming Lei (3):
scsi: avoid to quiesce sdev->request_queue two times
scsi: make sure that request queue queiesce and unquiesce balanced
dm: don't stop request queue after the dm device is suspended

 drivers/md/dm.c            | 10 ------
 drivers/scsi/scsi_lib.c    | 70 ++++++++++++++++++++++++++------------
 include/scsi/scsi_device.h |  1 +
 3 files changed, 49 insertions(+), 32 deletions(-)
Signature · 1 line
2.31.1