]> www.infradead.org Git - users/hch/block.git/commit
block: move ->bio_split to the gendisk
authorChristoph Hellwig <hch@lst.de>
Fri, 22 Jul 2022 06:59:05 +0000 (08:59 +0200)
committerChristoph Hellwig <hch@lst.de>
Fri, 22 Jul 2022 07:15:57 +0000 (09:15 +0200)
commitebd65e412bb3612a4c490a57e8e49a58a519da68
tree2d98eca47abde76071da4c4b82c2f8712aebdfd2
parentd517d1881af7671ad2c8cccfead5b6ed9bf33c08
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>
block/blk-core.c
block/blk-merge.c
block/blk-sysfs.c
block/genhd.c
drivers/md/dm.c
include/linux/blkdev.h