Commit 7d9f107
md: use new helpers in md_do_sync()
Make code cleaner. and also use the action_name directly in kernel log:
- "check" instead of "data-check"
- "repair" instead of "requested-resync"
Signed-off-by: Yu Kuai <yukuai3@huawei.com>
Signed-off-by: Song Liu <song@kernel.org>
Link: https://lore.kernel.org/r/20240611132251.1967786-9-yukuai1@huaweicloud.com1 parent 5ce10a3 commit 7d9f107
2 files changed
Lines changed: 6 additions & 17 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
8929 | 8929 | | |
8930 | 8930 | | |
8931 | 8931 | | |
8932 | | - | |
| 8932 | + | |
| 8933 | + | |
8933 | 8934 | | |
8934 | 8935 | | |
8935 | 8936 | | |
| |||
8960 | 8961 | | |
8961 | 8962 | | |
8962 | 8963 | | |
8963 | | - | |
8964 | | - | |
8965 | | - | |
8966 | | - | |
8967 | | - | |
8968 | | - | |
8969 | | - | |
8970 | | - | |
8971 | | - | |
8972 | | - | |
8973 | | - | |
8974 | | - | |
8975 | | - | |
8976 | | - | |
8977 | | - | |
| 8964 | + | |
| 8965 | + | |
| 8966 | + | |
8978 | 8967 | | |
8979 | 8968 | | |
8980 | 8969 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
432 | 432 | | |
433 | 433 | | |
434 | 434 | | |
435 | | - | |
| 435 | + | |
436 | 436 | | |
437 | 437 | | |
438 | 438 | | |
| |||
0 commit comments