diff options
| author | Li Nan <linan122@huawei.com> | 2026-01-05 19:02:52 +0800 |
|---|---|---|
| committer | Yu Kuai <yukuai@fnnas.com> | 2026-01-26 13:16:12 +0800 |
| commit | aa9d12cfa1a514de427c2641911755c11350ee09 (patch) | |
| tree | f6c43d3ff213dfc3e0ee6ac684089926aa6bd18e /tools/perf/scripts/python/stackcollapse.py | |
| parent | 4870b0f59c1ad3aae05734a833fe7c3ae90bec09 (diff) | |
| download | linux-aa9d12cfa1a514de427c2641911755c11350ee09.tar.gz linux-aa9d12cfa1a514de427c2641911755c11350ee09.zip | |
md: break remaining operations on badblocks set failure in narrow_write_error
Mark device faulty and exit at once when setting badblocks fails in
narrow_write_error(). No need to continue processing remaining sections.
With this change, narrow_write_error() no longer needs to return a value,
so adjust its return type to void.
Link: https://lore.kernel.org/linux-raid/20260105110300.1442509-5-linan666@huaweicloud.com
Signed-off-by: Li Nan <linan122@huawei.com>
Signed-off-by: Yu Kuai <yukuai@fnnas.com>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions
