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, 3 Aug 2022 03:08:49 +0000 (21:08 -0600)
commit46754bd056053785d7079f1d48f7f571728dcb47
tree19ace24d9b5561c42c727d066d971940b96a0854
parent51d798cdb5c219000fe76a3ffbcaa846b689ba80
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