diff options
author | Yu Kuai <[email protected]> | 2024-02-29 17:57:12 +0800 |
---|---|---|
committer | Song Liu <[email protected]> | 2024-02-29 22:49:46 -0800 |
commit | 9f3ced792203891b8fa39afa37908eba843fcfac (patch) | |
tree | 15da7f689f0e11357125075c5586d792894f0c18 /tools/perf/scripts/python/export-to-sqlite.py | |
parent | dfa8ecd167c1753d4fc24a517e1d79c603183c94 (diff) |
md/raid1: factor out choose_bb_rdev() from read_balance()
read_balance() is hard to understand because there are too many status
and branches, and it's overlong.
This patch factor out the case to read the rdev with bad blocks from
read_balance(), there are no functional changes.
Co-developed-by: Paul Luse <[email protected]>
Signed-off-by: Paul Luse <[email protected]>
Signed-off-by: Yu Kuai <[email protected]>
Reviewed-by: Xiao Ni <[email protected]>
Signed-off-by: Song Liu <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions