diff options
| author | Li Nan <linan122@huawei.com> | 2026-01-05 19:02:58 +0800 |
|---|---|---|
| committer | Yu Kuai <yukuai@fnnas.com> | 2026-01-26 13:16:25 +0800 |
| commit | 99582edb3f62e8ee6c34512021368f53f9b091f2 (patch) | |
| tree | 949fa9785efebea19efe3e911773725134ad0a1d /tools/perf/lib/Documentation/tutorial/git@git.tavy.me:linux.git | |
| parent | 8ff59a72478d6e9f9668e153dbdbdfad7928b123 (diff) | |
md/raid10: fix any_working flag handling in raid10_sync_request
In raid10_sync_request(), 'any_working' indicates if any IO will
be submitted. When there's only one In_sync disk with badblocks,
'any_working' might be set to 1 but no IO is submitted. Fix it by
setting 'any_working' after badblock checks.
Link: https://lore.kernel.org/linux-raid/20260105110300.1442509-11-linan666@huaweicloud.com
Fixes: e875ecea266a ("md/raid10 record bad blocks as needed during recovery.")
Signed-off-by: Li Nan <linan122@huawei.com>
Reviewed-by: Yu Kuai <yukuai3@huawei.com>
Signed-off-by: Yu Kuai <yukuai@fnnas.com>
Diffstat (limited to 'tools/perf/lib/Documentation/tutorial/git@git.tavy.me:linux.git')
0 files changed, 0 insertions, 0 deletions
