diff options
author | Yu Kuai <yukuai3@huawei.com> | 2024-02-29 12:57:11 +0300 |
---|---|---|
committer | Song Liu <song@kernel.org> | 2024-03-01 09:49:46 +0300 |
commit | dfa8ecd167c1753d4fc24a517e1d79c603183c94 (patch) | |
tree | 993a4f6f2e139544e37a7cdda6bde157702bf2b8 /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | 31a73331752d3c7d28c8fc089b21d3ae8c15e664 (diff) | |
download | linux-dfa8ecd167c1753d4fc24a517e1d79c603183c94.tar.xz |
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 <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-9-yukuai1@huaweicloud.com
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions