]> Gentwo Git Trees - linux/.git/commit
md/raid0: convert raid0_make_request() to use bio_submit_split_bioset()
authorYu Kuai <yukuai3@huawei.com>
Wed, 10 Sep 2025 06:30:56 +0000 (14:30 +0800)
committerJens Axboe <axboe@kernel.dk>
Wed, 10 Sep 2025 11:23:46 +0000 (05:23 -0600)
commite0ed2bca7bef9267da0928a8ed6d1de41f19ecf6
treef5b500181059e8676514d2ec10b5f0aa08f7136d
parentb2f5974079d82a4761f002e80601064d4e39a81f
md/raid0: convert raid0_make_request() to use bio_submit_split_bioset()

Currently, raid0_make_request() will remap the original bio to underlying
disks to prevent reordered IO. Now that bio_submit_split_bioset() will put
original bio to the head of current->bio_list, it's safe converting to use
this helper and bio will still be ordered.

CC: Jan Kara <jack@suse.cz>
Signed-off-by: Yu Kuai <yukuai3@huawei.com>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
drivers/md/raid0.c