Hi Jens, Please consider pulling the following changes for md-next on top of your for-6.5/block branch. The major changes are: 1. Deprecate bitmap file support, by Christoph Hellwig; 2. Fix deadlock with md sync thread, by Yu Kuai; 3. Refactor md io accounting, by Yu Kuai. Thanks, Song The following changes since commit 648fa60fa7de3ca6f6303e1721591ad73def9cf0: block: don't return -EINVAL for not found names in devt_from_devname (2023-06-22 09:09:33 -0600) are available in the Git repository at: https://git.kernel.org/pub/scm/linux/kernel/git/song/md.git tags/md-next-20230622 for you to fetch changes up to 41fb72ee7eeda723e619c6918dffaf05a55fc7dd: md/md-faulty: enable io accounting (2023-06-22 22:28:27 -0700) ---------------------------------------------------------------- Christoph Hellwig (11): md-bitmap: set BITMAP_WRITE_ERROR in write_sb_page md-bitmap: initialize variables at declaration time in md_bitmap_file_unmap md-bitmap: use %pD to print the file name in md_bitmap_file_kick md-bitmap: split file writes into a separate helper md-bitmap: rename read_page to read_file_page md-bitmap: refactor md_bitmap_init_from_disk md-bitmap: cleanup read_sb_page md-bitmap: account for mddev->bitmap_info.offset in read_sb_page md-bitmap: don't use ->index for pages backing the bitmap file md: make bitmap file support optional md: deprecate bitmap file support Li Nan (1): md/raid10: fix the condition to call bio_end_io_acct() Song Liu (1): md: use mddev->external to select holder in export_rdev() Yu Kuai (17): md/raid1-10: fix casting from randomized structure in raid1_submit_write() Revert "md: unlock mddev before reap sync_thread in action_store" md: refactor action_store() for 'idle' and 'frozen' md: add a mutex to synchronize idle and frozen in action_store() md: refactor idle/frozen_sync_thread() to fix deadlock md: wake up 'resync_wait' at last in md_reap_sync_thread() md: enhance checking in md_check_recovery() md: fix 'delete_mutex' deadlock raid10: avoid spin_lock from fastpath from raid10_unplug() md: move initialization and destruction of 'io_acct_set' to md.c md: also clone new io if io accounting is disabled raid5: fix missing io accounting in raid5_align_endio() md/raid1: switch to use md_account_bio() for io accounting md/raid10: switch to use md_account_bio() for io accounting md/md-multipath: enable io accounting md/md-linear: enable io accounting md/md-faulty: enable io accounting drivers/md/Kconfig | 10 +++++ drivers/md/dm-raid.c | 1 - drivers/md/md-bitmap.c | 338 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++------------------------------------------------------------------------------ drivers/md/md-bitmap.h | 1 + drivers/md/md-faulty.c | 2 + drivers/md/md-linear.c | 1 + drivers/md/md-multipath.c | 1 + drivers/md/md.c | 245 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++------------------------------------------------- drivers/md/md.h | 15 +++---- drivers/md/raid0.c | 16 +------- drivers/md/raid1-10.c | 2 +- drivers/md/raid1.c | 14 +++---- drivers/md/raid1.h | 1 - drivers/md/raid10.c | 24 ++++++------ drivers/md/raid10.h | 1 - drivers/md/raid5.c | 70 +++++++++------------------------ 16 files changed, 372 insertions(+), 370 deletions(-)