Commit fa0f13a8 authored by Yu Kuai's avatar Yu Kuai Committed by Greg Kroah-Hartman
Browse files

md/raid1-10: factor out a helper to add bio to plug



[ Upstream commit 5ec6ca14 ]

The code in raid1 and raid10 is identical, prepare to limit the number
of plugged bios.

Signed-off-by: default avatarYu Kuai <yukuai3@huawei.com>
Signed-off-by: default avatarSong Liu <song@kernel.org>
Link: https://lore.kernel.org/r/20230529131106.2123367-3-yukuai1@huaweicloud.com


Stable-dep-of: 7db922ba ("md/raid1-10: submit write io directly if bitmap is not enabled")
Signed-off-by: default avatarSasha Levin <sashal@kernel.org>
parent a5a1ec06
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment