]> git.baikalelectronics.ru Git - kernel.git/commit
md/raid0: Factor out helper for mapping and submitting a bio
authorJan Kara <jack@suse.cz>
Mon, 14 Aug 2023 09:27:07 +0000 (11:27 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 13 Sep 2023 07:42:44 +0000 (09:42 +0200)
commitcd1dd83888d7c6ce4f92dc18b207c3f34a0c529a
tree3b44993f2686847f2aeca3a1f54000c370cc1648
parentc227aa141660ec3a79bbb4d090029e52ad552fef
md/raid0: Factor out helper for mapping and submitting a bio

[ Upstream commit af50e20afb401cc203bd2a9ff62ece0ae4976103 ]

Factor out helper function for mapping and submitting a bio out of
raid0_make_request(). We will use it later for submitting both parts of
a split bio.

Signed-off-by: Jan Kara <jack@suse.cz>
Reviewed-by: Yu Kuai <yukuai3@huawei.com>
Link: https://lore.kernel.org/r/20230814092720.3931-1-jack@suse.cz
Signed-off-by: Song Liu <song@kernel.org>
Stable-dep-of: 319ff40a5427 ("md/raid0: Fix performance regression for large sequential writes")
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/md/raid0.c