Skip to content

dm: io accounting & polling improvement

Ming Lei dm-devel linux-block 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest8 patches 22 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/8block: replace disk based account with bdev'sblock/blk-core.c drivers/block/zram/zram_drv.c include/linux/blkdev.h+15 -121 reply
2/8dm: don't pass bio to __dm_start_io_acct and dm_end_io_acctdrivers/md/dm.c+8 -110 replies
3/8dm: pass 'dm_io' instance to dm_io_acct directlydrivers/md/dm.c+7 -42 replies
4/8dm: switch to bdev based io accounting interfacedrivers/md/dm.c+8 -130 replies
5/8dm: always setup ->orig_bio in alloc_iodrivers/md/dm-core.h drivers/md/dm.c+32 -2716 replies
6/8dm: don't grab target io reference in dm_zone_map_biodrivers/md/dm-core.h drivers/md/dm-zone.c drivers/md/dm.c+6 -180 replies
7/8dm: improve target io referencingdrivers/md/dm.c+38 -130 replies
8/8dm: put all polled io into one single listdrivers/md/dm-core.h drivers/md/dm.c+25 -230 replies

Reviews trailers per patch

1 of 8 patches has a Reviewed-by or Acked-by.

PatchDamien Le Moal
1/8
2/8
3/8
4/8
5/8
6/8R-b T-b
7/8
8/8

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

Read the v1 thread

Cover letter [PATCH 0/8] dm: io accounting & polling improvement

Hello Guys,

The 1st patch adds bdev based io accounting interface.

The 2nd ~ 5th patches improves dm's io accounting & split, meantime fixes kernel panic on dm-zone.

The other patches improves io polling & dm io reference handling.

Ming Lei (8):
block: replace disk based account with bdev's
dm: don't pass bio to __dm_start_io_acct and dm_end_io_acct
dm: pass 'dm_io' instance to dm_io_acct directly
dm: switch to bdev based io accounting interface
dm: always setup ->orig_bio in alloc_io
dm: don't grab target io reference in dm_zone_map_bio
dm: improve target io referencing
dm: put all polled io into one single list

 block/blk-core.c              |  15 +--
 drivers/block/zram/zram_drv.c |   5 +-
 drivers/md/dm-core.h          |  17 ++-
 drivers/md/dm-zone.c          |  10 --
 drivers/md/dm.c               | 190 +++++++++++++++++++---------------
 include/linux/blkdev.h        |   7 +-
 6 files changed, 131 insertions(+), 113 deletions(-)
Signature · 6 lines
2.31.1

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