Skip to content

dm: fix then improve bio splitting

Mike Snitzer dm-devel linux-block 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v3 Latest6 patches 3 repliesIn review

Patches in v3 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/6dm: fix bio splitting and its bio completion order for regular IOdrivers/md/dm.c+2 -210 replies
2/6dm: fix comment in dm_process_bio()drivers/md/dm.c+3 -10 replies
3/6block: use lcm_not_zero() when stacking chunk_sectorsblock/blk-settings.c+8 -41 reply
4/6block: allow 'chunk_sectors' to be non-power-of-2block/blk-settings.c include/linux/blkdev.h+13 -91 reply
5/6dm table: stack 'chunk_sectors' limit to account for target-specific splittingdrivers/md/dm-table.c+5 -00 replies
6/6dm: change max_io_len() to use blk_max_size_offset()drivers/md/dm.c+8 -120 replies

Reviews trailers per patch

2 of 6 patches have a Reviewed-by or Acked-by.

PatchMing LeiMartin K. Petersen
1/6
2/6
3/6R-b R-b
4/6R-b R-b
5/6
6/6

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

Read the v3 thread

Cover letter [PATCH v3 0/6] dm: fix then improve bio splitting

Hi,

Patches 1 and 2 are queued for me to send to Linus later this week.

Patches 3 and 4 are block core and should get picked up for 5.10. Jens, please pick them up. I revised the header for patch 4 to give better context for use-case where non power-of-2 chunk_sectors occurs. Patch 4 enables DM to switch to using blk_max_size_offset() in Patch 6.

Patches 5 and 6 just show how DM will be enhanced for 5.10 once patches 3 and 4 land in the block tree.

Mike Snitzer (6):
dm: fix bio splitting and its bio completion order for regular IO
dm: fix comment in dm_process_bio()
block: use lcm_not_zero() when stacking chunk_sectors
block: allow 'chunk_sectors' to be non-power-of-2
dm table: stack 'chunk_sectors' limit to account for target-specific splitting
dm: change max_io_len() to use blk_max_size_offset()

 block/blk-settings.c   | 22 ++++++++++++----------
 drivers/md/dm-table.c  |  5 +++++
 drivers/md/dm.c        | 47 +++++++++++++----------------------------------
 include/linux/blkdev.h | 12 +++++++++---
 4 files changed, 39 insertions(+), 47 deletions(-)
Signature · 1 line
2.15.0