]> git.itanic.dy.fi Git - linux-stable/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)
committerSong Liu <song@kernel.org>
Fri, 18 Aug 2023 04:11:31 +0000 (21:11 -0700)
commitaf50e20afb401cc203bd2a9ff62ece0ae4976103
tree27f9864ef9f3a2719d34545c8788888afa90cd73
parent6b2460e66ce6d483b5ff77227ac799d6e8a9ebd6
md/raid0: Factor out helper for mapping and submitting a bio

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>
drivers/md/raid0.c