diff options
author | Yu Kuai <yukuai3@huawei.com> | 2024-02-29 12:57:08 +0300 |
---|---|---|
committer | Song Liu <song@kernel.org> | 2024-03-01 09:49:46 +0300 |
commit | f29841ff3b272e1703454f93b96baf0fe0d9f31a (patch) | |
tree | 97d83737e17e8348f7619c3e3c24f9ca55a46fff /tools/perf/scripts/python | |
parent | 257ac239ffcfd097a9a0732bf5095fb00164f334 (diff) | |
download | linux-f29841ff3b272e1703454f93b96baf0fe0d9f31a.tar.xz |
md/raid1-10: add a helper raid1_check_read_range()
The checking and handler of bad blocks appear many timers during
read_balance() in raid1 and raid10. This helper will be used in later
patches to simplify read_balance() a lot.
Co-developed-by: Paul Luse <paul.e.luse@linux.intel.com>
Signed-off-by: Paul Luse <paul.e.luse@linux.intel.com>
Signed-off-by: Yu Kuai <yukuai3@huawei.com>
Reviewed-by: Xiao Ni <xni@redhat.com>
Signed-off-by: Song Liu <song@kernel.org>
Link: https://lore.kernel.org/r/20240229095714.926789-6-yukuai1@huaweicloud.com
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions