[dm-devel] [dm-6.4 PATCH 0/8] dm bufio, thin: improve concurrent IO performance

Mike Snitzer snitzer at kernel.org
Wed Mar 22 18:18:37 UTC 2023


Hi,

This patchset has been staged in linux-next for the 6.4 merge
window. As detailed in the "Testing" section of the header for patch
5: these changes have been extensively tested in terms of dm-thin (and
dm-cache as much as device-mapper-test-suite provides).

But further testing from other more exotic DM bufio consumers is
needed (e.g. dm-verity and dm-integrity developers/consumers who are
Cc'd).

Please use whatever tests you have to put pressure on bufio.
In particular: focused testing of bufio's shrinker, verify
DM_BUFIO_CLIENT_NO_SLEEP (via dm-verity's tasklets), etc.

There is still time to add fixes for 6.4 should any issues turn
up.

All review is welcome (I'll rebase to include Reviewed-by or Acked-by
tags). Also, positive reports in the form of Tested-by replies (to
patch 5) are also welcome!

Thanks,
Mike

Joe Thornber (4):
  dm bio prison v1: improve concurrent IO performance
  dm bufio: remove unused dm_bufio_release_move interface
  dm bufio: improve concurrent IO performance
  dm thin: speed up cell_defer_no_holder()

Mike Snitzer (4):
  dm: split discards further if target sets max_discard_granularity
  dm bufio: move dm_buffer struct
  dm bufio: move dm_bufio_client members to avoid spanning cachelines
  dm bufio: rename buffer_cache struct to dm_buffer_cache

 drivers/md/dm-bio-prison-v1.c |   87 +-
 drivers/md/dm-bio-prison-v1.h |   10 +
 drivers/md/dm-bufio.c         | 1939 +++++++++++++++++++++++----------
 drivers/md/dm-thin.c          |   23 +-
 drivers/md/dm.c               |   54 +-
 include/linux/device-mapper.h |    6 +
 include/linux/dm-bufio.h      |    6 -
 include/uapi/linux/dm-ioctl.h |    4 +-
 8 files changed, 1458 insertions(+), 671 deletions(-)

-- 
2.40.0



More information about the dm-devel mailing list