]> git.ipfire.org Git - thirdparty/kernel/stable.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>
Tue, 19 Sep 2023 10:22:39 +0000 (12:22 +0200)
commit17fbf7da491f927206f09d1ba361df106f5b3ddc
tree313b1f4e0198325ae74af63c78f9462f97c30e6b
parentd04f1e322f52e877f9dee230930252b98d861cdf
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