diff options
| author | 2026-08-27 15:56:18 +0800 | |
|---|---|---|
| committer | 2026-09-20 13:13:14 +0800 | |
| commit | 0a7465dcb43fbf31631ca2c346401adce4cd85d9 (patch) | |
| tree | a3dab7f86120ec8ed9e03a1f4e27fbe177ea857a /scripts/Makefile.thinlto | |
| parent | md/raid5: reject a per-device size smaller than one chunk (diff) | |
md: add rdev_record_write_error() helper
The WriteErrorSeen + WantReplacement + MD_RECOVERY_NEEDED sequence is
duplicated across raid1, raid10 and raid5. Factor it into a small
inline helper for readability. No functional change.
Signed-off-by: Li Youhong <liyouhong@kylinos.cn>
Link: https://patch.msgid.link/20260827075620.3599227-2-dayou5941@163.com
Signed-off-by: Yu Kuai <yukuai@fygo.io>
Diffstat (limited to 'scripts/Makefile.thinlto')
0 files changed, 0 insertions, 0 deletions
