[GIT PULL] md-7.1-20260407

Yu Kuai <[email protected]>
Newsgroups gmane.linux.kernel,gmane.linux.block,gmane.linux.raid
Message-ID <[email protected]>
Hi Jens,

Please consider pulling the following changes into your for-7.1/block branch.

This pull request contains:

Bug Fixes:
- avoid a sysfs deadlock when clearing array state (Yu Kuai)
- validate raid5 journal payloads before reading metadata (Junrui Luo)
- fall back to the correct bitmap operations after version mismatches (Yu Kuai)
- serialize overlapping writes on writemostly raid1 disks (Xiao Ni)
- wake raid456 reshape waiters before suspend (Yu Kuai)
- prevent retry_aligned_read() from triggering soft lockups (Chia-Ming Chang)

Improvements:
- switch raid0 strip zone and devlist allocations to kvmalloc helpers (Gregory Price)
- track clean unwritten stripes for proactive RAID5 parity building (Yu Kuai)
- speed up initial llbitmap sync with write_zeroes_unmap support (Yu Kuai)

Cleanups:
- remove the unused static md workqueue definition (Abd-Alrhman Masalkhi)

Thanks,
Kuai

---

The following changes since commit 8b155f2e4a91f3507951e6ace4b413688ac28b96:

  block: remove unused BVEC_ITER_ALL_INIT (2026-04-04 08:10:37 -0600)

are available in the Git repository at:

  git://git.kernel.org/pub/scm/linux/kernel/git/mdraid/linux.git tags/md-7.1-20260407

for you to fetch changes up to 7f9f7c697474268d9ef9479df3ddfe7cdcfbbffc:

  md/raid5: fix soft lockup in retry_aligned_read() (2026-04-07 15:13:52 +0800)

----------------------------------------------------------------
Abd-Alrhman Masalkhi (1):
      md: remove unused static md_wq workqueue

Chia-Ming Chang (1):
      md/raid5: fix soft lockup in retry_aligned_read()

Gregory Price (1):
      md/raid0: use kvzalloc/kvfree for strip_zone and devlist allocations

Junrui Luo (1):
      md/raid5: validate payload size before accessing journal metadata

Xiao Ni (1):
      md/raid1: serialize overlap io for writemostly disk

Yu Kuai (5):
      md: fix array_state=clear sysfs deadlock
      md: add fallback to correct bitmap_ops on version mismatch
      md/md-llbitmap: add CleanUnwritten state for RAID-5 proactive parity building
      md/md-llbitmap: optimize initial sync with write_zeroes_unmap support
      md: wake raid456 reshape waiters before suspend

 drivers/md/md-llbitmap.c | 202 ++++++++++++++++++++++++++++++++++++++++++++---
 drivers/md/md.c          | 139 +++++++++++++++++++++++++++++---
 drivers/md/md.h          |   5 +-
 drivers/md/raid0.c       |  18 ++---
 drivers/md/raid1.c       |  47 ++++++++---
 drivers/md/raid5-cache.c |  48 +++++++----
 drivers/md/raid5.c       |   8 +-
 7 files changed, 405 insertions(+), 62 deletions(-)
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.