Commit 4a3aa02
committed
md: add helper rdev_needs_recovery()
JIRA: https://issues.redhat.com/browse/RHEL-94433
commit cb0780a
Author: Zheng Qixing <zhengqixing@huawei.com>
Date: Sat Aug 16 08:25:33 2025 +0800
md: add helper rdev_needs_recovery()
Add a helper for checking if an rdev needs recovery.
Signed-off-by: Zheng Qixing <zhengqixing@huawei.com>
Link: https://lore.kernel.org/linux-raid/20250816002534.1754356-2-zhengqixing@huaweicloud.com
Signed-off-by: Yu Kuai <yukuai3@huawei.com>
Signed-off-by: Nigel Croxon <ncroxon@redhat.com>1 parent a88af90 commit 4a3aa02
1 file changed
+12
-11
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4865 | 4865 | | |
4866 | 4866 | | |
4867 | 4867 | | |
| 4868 | + | |
| 4869 | + | |
| 4870 | + | |
| 4871 | + | |
| 4872 | + | |
| 4873 | + | |
| 4874 | + | |
| 4875 | + | |
| 4876 | + | |
4868 | 4877 | | |
4869 | 4878 | | |
4870 | 4879 | | |
| |||
9021 | 9030 | | |
9022 | 9031 | | |
9023 | 9032 | | |
9024 | | - | |
9025 | | - | |
9026 | | - | |
9027 | | - | |
9028 | | - | |
| 9033 | + | |
9029 | 9034 | | |
9030 | 9035 | | |
9031 | 9036 | | |
| |||
9384 | 9389 | | |
9385 | 9390 | | |
9386 | 9391 | | |
9387 | | - | |
9388 | | - | |
9389 | | - | |
9390 | | - | |
9391 | | - | |
9392 | | - | |
| 9392 | + | |
| 9393 | + | |
9393 | 9394 | | |
9394 | 9395 | | |
9395 | 9396 | | |
| |||
0 commit comments