]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit4c5c15b17c6fcbd52189bcf1795012ff71e6ec56
tree19ace24d9b5561c42c727d066d971940b96a0854
parentffe88d7d5e52a9e74b58e4af44302b7b4cb4308f
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