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. Protect md_thread with rcu, by Yu Kuai; 2. Various non-urgent raid5 and raid1/10 fixes, by Yu Kuai; 3. Non-urgent raid10 fixes, by Li Nan. Thanks, Song The following changes since commit 7da15fb0318f18398feea2848d099a8d0d7b5965: pktcdvd: Sort headers (2023-06-07 14:27:49 -0600) are available in the Git repository at: https://git.kernel.org/pub/scm/linux/kernel/git/song/md.git tags/md-next-20230608 for you to fetch changes up to 3f38d83c0f18f5eaef5c248769f5a7eb368e9a47: md/raid1-10: limit the number of plugged bio (2023-06-08 08:43:28 -0700) ---------------------------------------------------------------- Arnd Bergmann (1): raid6: neon: add missing prototypes Li Nan (9): md/raid10: check slab-out-of-bounds in md_bitmap_get_counter md/raid10: fix overflow of md/safe_mode_delay md/raid10: fix wrong setting of max_corr_read_errors md/raid10: fix null-ptr-deref of mreplace in raid10_sync_request md/raid10: improve code of mrdev in raid10_sync_request md/raid10: prioritize adding disk to 'removed' mirror md/raid10: clean up md_add_new_disk() md/raid10: Do not add spare disk when recovery fails md/raid10: fix io loss while replacement replace rdev Yu Kuai (19): md/raid5: don't allow replacement while reshape is in progress md: fix data corruption for raid456 when reshape restart while grow up md: export md_is_rdwr() and is_md_suspended() md: add a new api prepare_suspend() in md_personality md/raid5: fix a deadlock in the case that reshape is interrupted md: fix duplicate filename for rdev md: factor out a helper to wake up md_thread directly dm-raid: remove useless checking in raid_message() md/bitmap: always wake up md_thread in timeout_store md/bitmap: factor out a helper to set timeout md: protect md_thread with rcu md/raid5: don't start reshape when recovery or replace is in progress md/raid10: prevent soft lockup while flush writes md/raid1-10: factor out a helper to add bio to plug md/raid1-10: factor out a helper to submit normal write md/raid1-10: submit write io directly if bitmap is not enabled md/md-bitmap: add a new helper to unplug bitmap asynchrously md/raid1-10: don't handle pluged bio by daemon thread md/raid1-10: limit the number of plugged bio drivers/md/dm-raid.c | 4 ++-- drivers/md/md-bitmap.c | 93 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++------------------------- drivers/md/md-bitmap.h | 8 ++++++++ drivers/md/md-cluster.c | 17 ++++++++++------ drivers/md/md-multipath.c | 4 ++-- drivers/md/md.c | 226 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++--------------------------------------------------------------------------------------------- drivers/md/md.h | 37 +++++++++++++++++++++++++++------ drivers/md/raid1-10.c | 63 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++ drivers/md/raid1.c | 36 ++++++++------------------------ drivers/md/raid1.h | 2 +- drivers/md/raid10.c | 179 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++---------------------------------------------------------------------------- drivers/md/raid10.h | 2 +- drivers/md/raid5-cache.c | 22 ++++++++++++-------- drivers/md/raid5.c | 68 +++++++++++++++++++++++++++++++++++++++++++++++++++++-------- drivers/md/raid5.h | 2 +- lib/raid6/neon.h | 22 ++++++++++++++++++++ lib/raid6/neon.uc | 1 + lib/raid6/recov_neon.c | 8 +------- lib/raid6/recov_neon_inner.c | 1 + 19 files changed, 508 insertions(+), 287 deletions(-) create mode 100644 lib/raid6/neon.h