Skip to content

Preserve the request order in the block layer

Bart Van Assche stable 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest3 patches 5 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3block: remove rq_list_moveinclude/linux/blk-mq.h+0 -171 reply
2/3block: add a rq_list typeblock/blk-core.c block/blk-merge.c block/blk-mq.c +8 more+104 -881 reply
3/3block: don't reorder requests in blk_add_rq_to_plugblock/blk-mq.c drivers/block/virtio_blk.c drivers/nvme/host/pci.c+4 -41 reply

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/3] Preserve the request order in the block layer

Hi Greg,

In kernel v6.10 the zoned storage approach was changed from zoned write locking to zone write plugging. Because of this change the block layer must preserve the request order. Hence this backport of Christoph's "don't reorder requests passed to ->queue_rqs" patch series. Please consider this patch series for inclusion in the 6.12 stable kernel.

See also https://lore.kernel.org/linux-block/[email protected]/.

Thanks,

Bart.

Christoph Hellwig (3):
block: remove rq_list_move
block: add a rq_list type
block: don't reorder requests in blk_add_rq_to_plug

 block/blk-core.c              |  6 +--
 block/blk-merge.c             |  2 +-
 block/blk-mq.c                | 42 +++++++--------
 block/blk-mq.h                |  2 +-
 drivers/block/null_blk/main.c |  9 ++--
 drivers/block/virtio_blk.c    | 13 +++--
 drivers/nvme/host/apple.c     |  2 +-
 drivers/nvme/host/pci.c       | 15 +++---
 include/linux/blk-mq.h        | 99 +++++++++++++++++------------------
 include/linux/blkdev.h        | 11 ++--
 io_uring/rw.c                 |  4 +-
 11 files changed, 102 insertions(+), 103 deletions(-)