[dm-devel] [PATCH v2 00/14] dm: improve bio-based IO accounting
Mike Snitzer
snitzer at redhat.com
Fri Feb 11 21:40:43 UTC 2022
Hi,
All the changes from this patchset are available here:
https://git.kernel.org/pub/scm/linux/kernel/git/device-mapper/linux-dm.git/log/?h=dm-5.18
This work is based on Jens' for-5.18/block
Please see v1's 0th header for context on motivation behind this patchset:
https://listman.redhat.com/archives/dm-devel/2022-February/msg00193.html
Christoph, I addressed all your feedback from v1 and added the
Reviewed-by:s you provided. Thanks for your review.
Patch 10 now isolates the block changes like you asked.
All further review of this v2 patchset is welcomed.
Mike
Mike Snitzer (14):
dm: rename split functions
dm: fold __clone_and_map_data_bio into __split_and_process_bio
dm: refactor dm_split_and_process_bio a bit
dm: reduce code duplication in __map_bio
dm: remove impossible BUG_ON in __send_empty_flush
dm: remove unused mapped_device argument from free_tio
dm: remove code only needed before submit_bio recursion
dm: record old_sector in dm_target_io before calling map function
dm: move kicking of suspend queue to dm_io_dec_pending
block: add bio_start_io_acct_remapped for the benefit of DM
dm: add dm_submit_bio_remap interface
dm crypt: use dm_submit_bio_remap
dm delay: use dm_submit_bio_remap
dm: move duplicate code in callers of alloc_tio into alloc_tio
block/blk-core.c | 24 ++---
drivers/md/dm-core.h | 2 +
drivers/md/dm-crypt.c | 9 +-
drivers/md/dm-delay.c | 5 +-
drivers/md/dm.c | 234 ++++++++++++++++++++++--------------------
include/linux/blkdev.h | 16 ++-
include/linux/device-mapper.h | 7 ++
include/uapi/linux/dm-ioctl.h | 4 +-
8 files changed, 164 insertions(+), 137 deletions(-)
--
2.15.0
More information about the dm-devel
mailing list