block: move ->bio_split to the gendisk
authorChristoph Hellwig <hch@lst.de>
Wed, 27 Jul 2022 16:22:57 +0000 (12:22 -0400)
committerJens Axboe <axboe@kernel.dk>
Wed, 27 Jul 2022 16:27:58 +0000 (10:27 -0600)
commit1be3479b85330141b54a102903e5f07948362695
treee1c34a3cc659783dba936577fb97288d4943f584
parent4d70e071de1fe363e81fdfd7b0b1686355120fdb
block: move ->bio_split to the gendisk

Only non-passthrough requests are split by the block layer and use the
->bio_split bio_set.  Move it from the request_queue to the gendisk.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Damien Le Moal <damien.lemoal@opensource.wdc.com>
Reviewed-by: Johannes Thumshirn <johannes.thumshirn@wdc.com>
Link: https://lore.kernel.org/r/20220727162300.3089193-4-hch@lst.de
Signed-off-by: Jens Axboe <axboe@kernel.dk>
block/blk-core.c
block/blk-merge.c
block/blk-sysfs.c
block/genhd.c
drivers/md/dm.c
include/linux/blkdev.h