[dm-devel] [dm-5.19 PATCH 00/21] dm: changes staged for 5.19

Mike Snitzer snitzer at kernel.org
Mon Apr 18 02:27:12 UTC 2022


Hi,

This patchset reflects what I've staged in linux-dm.git's "dm-5.19"
branch (also staged in "for-next" for linux-next):
https://git.kernel.org/pub/scm/linux/kernel/git/device-mapper/linux-dm.git/log/?h=dm-5.19

It build's on jens/for-5.19/block branch (which is based on v5.18-rc3)

I can still make changes or add Reviewed-by:s, etc. So please feel
free to review.

Jens, I'd appreciate it if you could pickup the first patch:
"block: change exported IO accounting interface from gendisk to bdev"
(still not in love with that subject but...)

Thanks,
Mike

Mike Snitzer (13):
  dm: conditionally enable BIOSET_PERCPU_CACHE for dm_io bioset
  dm: factor out dm_io_set_error and __dm_io_dec_pending
  dm: simplify dm_io access in dm_split_and_process_bio
  dm: simplify dm_start_io_acct
  dm: mark various branches unlikely
  dm: add local variables to clone_endio and __map_bio
  dm: move hot dm_io members to same cacheline as dm_target_io
  dm: introduce dm_{get,put}_live_table_bio called from dm_submit_bio
  dm: conditionally enable branching for less used features
  dm: simplify basic targets
  dm: use bio_sectors in dm_aceept_partial_bio
  dm: simplify bio-based IO accounting further
  dm: improve abnormal bio processing

Ming Lei (8):
  block: change exported IO accounting interface from gendisk to bdev
  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 interfaces
  dm: improve bio splitting and associated IO accounting
  dm: don't grab target io reference in dm_zone_map_bio
  dm: improve dm_io reference counting
  dm: put all polled dm_io instances into a single list

 block/blk-core.c              |  52 ++---
 drivers/block/zram/zram_drv.c |   5 +-
 drivers/md/dm-core.h          |  38 ++--
 drivers/md/dm-delay.c         |   3 +-
 drivers/md/dm-flakey.c        |   4 +-
 drivers/md/dm-linear.c        |  11 +-
 drivers/md/dm-stats.c         |   3 +
 drivers/md/dm-table.c         |  16 +-
 drivers/md/dm-zone.c          |  10 -
 drivers/md/dm.c               | 515 ++++++++++++++++++++++++------------------
 drivers/md/dm.h               |   4 +-
 include/linux/blkdev.h        |   7 +-
 12 files changed, 367 insertions(+), 301 deletions(-)

-- 
2.15.0



More information about the dm-devel mailing list