Skip to content

Conversation

kpd-daemon[bot]
Copy link

@kpd-daemon kpd-daemon bot commented Aug 12, 2025

Pull request for series with
subject: md: fix sync_action show
version: 2
url: https://patchwork.kernel.org/project/linux-raid/list/?series=990306

@kpd-daemon
Copy link
Author

kpd-daemon bot commented Aug 12, 2025

Upstream branch: c17fb54
series: https://patchwork.kernel.org/project/linux-raid/list/?series=990306
version: 2

@kpd-daemon
Copy link
Author

kpd-daemon bot commented Aug 14, 2025

Upstream branch: c17fb54
series: https://patchwork.kernel.org/project/linux-raid/list/?series=991277
version: 3

@kpd-daemon kpd-daemon bot added V3 and removed V2 V2-ci-fail labels Aug 14, 2025
@kpd-daemon kpd-daemon bot force-pushed the series/990306=>md-6.16 branch from 9fcb601 to 1334065 Compare August 14, 2025 14:48
@kpd-daemon
Copy link
Author

kpd-daemon bot commented Aug 17, 2025

Upstream branch: c17fb54
series: https://patchwork.kernel.org/project/linux-raid/list/?series=992091
version: 4

Zheng Qixing added 2 commits August 17, 2025 15:56
Add a helper for checking if an rdev needs recovery.

Signed-off-by: Zheng Qixing <[email protected]>
During raid resync, if a disk becomes faulty, the operation is
briefly interrupted. The MD_RECOVERY_RECOVER flag triggered by
the disk failure causes sync_action to incorrectly show "recover"
instead of "resync". The same issue affects reshape operations.

Reproduction steps:
  mdadm -Cv /dev/md1 -l1 -n4 -e1.2 /dev/sd{a..d} // -> resync happended
  mdadm -f /dev/md1 /dev/sda                     // -> resync interrupted
  cat sync_action
  -> recover

Add progress checks in md_sync_action() for resync/recover/reshape
to ensure the interface correctly reports the actual operation type.

Fixes: 4b10a3b ("md: ensure resync is prioritized over recovery")
Signed-off-by: Zheng Qixing <[email protected]>
@kpd-daemon kpd-daemon bot added V4 and removed V3 V3-ci-fail labels Aug 17, 2025
@kpd-daemon kpd-daemon bot force-pushed the series/990306=>md-6.16 branch from 1334065 to cf98589 Compare August 17, 2025 15:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants