Skip to content

dm: changes staged in linux-next for 5.1 so far

Mike Snitzer dm-devel 2 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest9 patches 4 repliesIn review
  2. v18 patches 2 repliesSuperseded

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/9dm: update dm_process_bio() to split bio if in ->make_request_fn()drivers/md/dm.c+66 -270 replies
2/9dm: eliminate 'split_discard_bios' flag from DM target interfacedrivers/md/dm-cache-target.c drivers/md/dm-raid.c drivers/md/dm-thin.c +4 more+17 -381 reply
3/9dm: refactor start_io_acct and end_io_acctdrivers/md/dm.c+30 -380 replies
4/9dm: implement noclone optimization for bio-baseddrivers/md/dm-linear.c drivers/md/dm-stripe.c drivers/md/dm-table.c +4 more+90 -20 replies
5/9dm: improve noclone bio supportdrivers/md/dm.c+62 -413 replies
6/9dm: add per-bio-data support to noclone biodrivers/md/dm.c+28 -40 replies
7/9dm: improve noclone_endio() to support multipath targetdrivers/md/dm.c+57 -230 replies
8/9dm mpath: enable noclone support for bio-baseddrivers/md/dm-mpath.c+7 -60 replies
9/9dm: remove unused _rq_tio_cache and _rq_cachedrivers/md/dm-rq.c drivers/md/dm-rq.h drivers/md/dm.c+18 -360 replies

Reviews trailers per patch

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

Read the v2 thread

Cover letter [PATCH v2 0/9] dm: changes staged in linux-next for 5.1 so far

This v2 eliminates the dm-mpath local cache for per-bio-data and switches to allocating the target required per-bio-data as part of the 'struct dm_noclone' allocation -- special thanks to Mikulas for his ideas and patch (#6) that went into this v2.

Test results show a slight improvement for bio-based dm-multipath (but not the kind of win dm-linear gets from switching to noclone):

linear: raw=6087MB/s clone=4241MB/s noclone=5148MB/s
mpath: raw=6087MB/s clone=3331MB/s noclone=3420MB/s

More work is needed to improve DM multipath performance (story of my life)... but at least this shifts the focus away from DM core and back to the dm-multipath target code.

Mike Snitzer (6):
dm: update dm_process_bio() to split bio if in ->make_request_fn()
dm: eliminate 'split_discard_bios' flag from DM target interface
dm: improve noclone bio support
dm: improve noclone_endio() to support multipath target dm mpath: enable noclone support for bio-based
dm: remove unused _rq_tio_cache and _rq_cache

Mikulas Patocka (3):
dm: refactor start_io_acct and end_io_acct
dm: implement noclone optimization for bio-based
dm: add per-bio-data support to noclone bio

 drivers/md/dm-cache-target.c  |   1 -
 drivers/md/dm-linear.c        |   3 +-
 drivers/md/dm-mpath.c         |  13 +-
 drivers/md/dm-raid.c          |  14 +-
 drivers/md/dm-rq.c            |  16 ++
 drivers/md/dm-rq.h            |  16 --
 drivers/md/dm-stripe.c        |   3 +-
 drivers/md/dm-table.c         |  11 ++
 drivers/md/dm-thin.c          |   1 -
 drivers/md/dm-zero.c          |   1 +
 drivers/md/dm-zoned-target.c  |   1 -
 drivers/md/dm.c               | 406 ++++++++++++++++++++++++++++--------------
 drivers/md/dm.h               |   1 +
 include/linux/device-mapper.h |   9 +-
 include/uapi/linux/dm-ioctl.h |   4 +-
 15 files changed, 330 insertions(+), 170 deletions(-)
Signature · 1 line
2.15.0