aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-sqlite.py
diff options
context:
space:
mode:
authorYu Kuai <[email protected]>2024-02-29 17:57:11 +0800
committerSong Liu <[email protected]>2024-02-29 22:49:46 -0800
commitdfa8ecd167c1753d4fc24a517e1d79c603183c94 (patch)
tree993a4f6f2e139544e37a7cdda6bde157702bf2b8 /tools/perf/scripts/python/export-to-sqlite.py
parent31a73331752d3c7d28c8fc089b21d3ae8c15e664 (diff)
md/raid1: factor out choose_slow_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 slow rdev 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