mbox series

[v2,0/3] Submit zoned requests in LBA order per zone

Message ID 20230320234905.3832131-1-bvanassche@acm.org (mailing list archive)
Headers show
Series Submit zoned requests in LBA order per zone | expand

Message

Bart Van Assche March 20, 2023, 11:49 p.m. UTC
Hi Jens,

For zoned storage it is essential that writes are submitted in LBA order per
zone. This patch series ensures this for bio splitting and requeuing. Please
consider this patch series for the next merge window.

Thanks,

Bart.

Changes compared to v1:
- Renamed bio_nr_segments() into bio_chain_nr_segments().
- Fixed the number of segments calculation in __bio_split_to_limits().
- Added a patch for the requeuing code path.

Bart Van Assche (3):
  block: Split blk_recalc_rq_segments()
  block: Split and submit bios in LBA order
  block: Preserve LBA order when requeuing

 block/blk-merge.c | 49 ++++++++++++++++++++++++++++++++---------------
 block/blk-mq.c    | 45 +++++++++++++++++++++++++++++++++++++------
 block/blk.h       |  2 ++
 3 files changed, 75 insertions(+), 21 deletions(-)