Skip to content

blk-mq/nvme: cancel request synchronously

Ming Lei linux-block linux-nvme 4 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v4 Latest2 patches 4 repliesIn review
  2. v32 patches 2 repliesSuperseded
  3. v22 patches 3 repliesSuperseded
Earlier versions · 1
VersionPostedPatchesRepliesStatus
v12 patches26 repliesSuperseded

Changes in v4 from the cover letter

- drop return value
- don't handle fake timeout

Patches in v4 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2blk-mq: introduce blk_mq_complete_request_sync()block/blk-mq.c include/linux/blk-mq.h+8 -01 reply
2/2nvme: cancel request synchronouslydrivers/nvme/host/core.c+1 -10 replies

Reviews trailers per patch

All 2 patches have a Reviewed-by or Acked-by of their own; the series has one for all of them.

PatchChristoph HellwigKeith Busch
SeriesR-b
1/2R-b
2/2R-b

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

Read the v4 thread

Cover letter [PATCH V4 0/2] blk-mq/nvme: cancel request synchronously

Hi,

This patchset introduces blk_mq_complete_request_sync() for canceling request synchronously in error handler context, then one race between completing request remotely and destroying contoller/queues can be fixed.

V4:
- drop return value
- don't handle fake timeout

V3:
- avoid extra cost to blk_mq_complete_request

V2:
- export via EXPORT_SYMBOL_GPL
- minor commit log change

Ming Lei (2):
blk-mq: introduce blk_mq_complete_request_sync()
nvme: cancel request synchronously

 block/blk-mq.c           | 7 +++++++
 drivers/nvme/host/core.c | 2 +-
 include/linux/blk-mq.h   | 1 +
 3 files changed, 9 insertions(+), 1 deletion(-)
Cc Keith Busch <kbusch at kernel.org>
Cc Sagi Grimberg <sagi at grimberg.me>
Cc Bart Van Assche <bvanassche at acm.org>
Cc James Smart <james.smart at broadcom.com>
Cc Christoph Hellwig <hch at lst.de>
Cc linux-nvme at lists.infradead.org
Signature · 1 line
2.9.5