aboutsummaryrefslogtreecommitdiff
path: root/Kconfig
diff options
context:
space:
mode:
authorYu Kuai2024-02-29 17:57:10 +0800
committerSong Liu2024-02-29 22:49:46 -0800
commit31a73331752d3c7d28c8fc089b21d3ae8c15e664 (patch)
tree29235003e6fbacf65a15e1ac3d176b2ae72e55a3 /Kconfig
parentf109207629552cb04c2a48e90abe7c481e363984 (diff)
md/raid1: factor out read_first_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 first 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-8-yukuai1@huaweicloud.com
Diffstat (limited to 'Kconfig')
0 files changed, 0 insertions, 0 deletions