Skip to content

block: misc changes

Ming Lei linux-block 2 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v3 Latest4 patches 8 repliesIn review
  2. v24 patches 9 repliesSuperseded

Changes in v3 from the cover letter

- tweak comments as suggested by Bart Van Assche

Patches in v3 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4blk-mq: comment on races related with timeout handlerblock/blk-mq.c+22 -01 reply
2/4block: add a read barrier in blk_queue_enter()block/blk-core.c+9 -02 replies
3/4block: rename blk_mq_freeze_queue_start()block/blk-core.c block/blk-mq.c drivers/block/mtip32xx/mtip32xx.c +2 more+9 -91 reply
4/4block: block new I/O just after queue is set as dyingblock/blk-core.c+10 -32 replies

Reviews trailers per patch

All 4 patches have a Reviewed-by or Acked-by.

PatchBart Van AsscheHannes ReineckeJohannes Thumshirn
1/4R-b R-b
2/4R-b R-b R-b
3/4R-b R-b R-b
4/4R-b R-b R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 3 reviewers.

Read the v3 thread

Cover letter [PATCH v3 0/4] block: misc changes

Hi,

The 1st patch add comments on blk-mq races with timeout handler.

The other 3 patches improves handling for dying queue:
- the 2nd one adds one barrier in blk_queue_enter() for avoiding hanging caused by out-of-order
- the 3rd and 4th patches block new I/O entering queue after queue is set as dying

V3:
- tweak comments as suggested by Bart Van Assche

V2:
- add one missing barrier in blk_queue_enter()

V1:
- add comments on races related with timeout handler
- add Tested-by & Reviewed-by tag

thanks,
Ming

Ming Lei (4):
blk-mq: comment on races related with timeout handler
block: add a read barrier in blk_queue_enter()
block: rename blk_mq_freeze_queue_start()
block: block new I/O just after queue is set as dying

 block/blk-core.c                  | 16 ++++++++++++++++
 block/blk-mq.c                    | 32 +++++++++++++++++++++++++++-----
 drivers/block/mtip32xx/mtip32xx.c |  2 +-
 drivers/nvme/host/core.c          |  2 +-
 include/linux/blk-mq.h            |  2 +-
 5 files changed, 46 insertions(+), 8 deletions(-)
Signature · 1 line
2.9.3