Skip to content

dm: improve bio splitting at expense of requeue complexity

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

Get series with b4
b4 am [email protected]

Versions newest first

  1. v3 Latest2 patches 1 replyIn review

Patches in v3 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2dm: add bio_rewind() API to DM coredrivers/md/Makefile drivers/md/dm-core.h drivers/md/dm-io-rewind.c+146 -11 reply
2/2dm: add two stage requeue mechanismdrivers/md/dm-core.h drivers/md/dm-io-rewind.c drivers/md/dm.c+129 -300 replies

Reviews trailers per patch

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

Read the v3 thread

Cover letter [5.20 PATCH v3 0/2] dm: improve bio splitting at expense of requeue complexity

This v3 moves all bio_rewind() code to drivers/md/dm-io-rewind.c for exclussive use by DM core's dm_io requeue support via dm_io_rewind().

It was determined that block core doesn't need to expose bio_rewind() for more general use. If/when that changes we can revisit, armed with the understanding of how DM's use of bio_rewind() has faired.

These changes are now staged for 5.20 inclussion via linux-dm.git

Ming Lei (2):
dm: add bio_rewind() API to DM core
dm: add two stage requeue mechanism

 drivers/md/Makefile       |   2 +-
 drivers/md/dm-core.h      |  13 +++-
 drivers/md/dm-io-rewind.c | 166 ++++++++++++++++++++++++++++++++++++++++++++++
 drivers/md/dm.c           | 121 +++++++++++++++++++++++++--------
 4 files changed, 273 insertions(+), 29 deletions(-)
 create mode 100644 drivers/md/dm-io-rewind.c
Signature · 6 lines
2.15.0

--
dm-devel mailing list
[email protected]
https://listman.redhat.com/mailman/listinfo/dm-devel