Skip to content
Commit 5ec6ca14 authored by Yu Kuai's avatar Yu Kuai Committed by Song Liu
Browse files

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



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
parent 01044462
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment