在 2025/8/16 8:25, Zheng Qixing 写道:
> From: Zheng Qixing <zhengqixing@huawei.com>
>
> Changes in v4:
> Move "rdev->raid_disk >= 0" into rdev_needs_recovery().
>
> Changes in v3:
> Code style modification in patch 1.
>
> Fix incorrect display of sync_action when raid is in resync.
>
> Zheng Qixing (2):
> md: add helper rdev_needs_recovery()
> md: fix sync_action incorrect display during resync
>
> drivers/md/md.c | 60 ++++++++++++++++++++++++++++++++++++++-----------
> 1 file changed, 47 insertions(+), 13 deletions(-)
Applied to md-6.17
Thanks