block: move the bdi from the request_queue to the gendisk
authorChristoph Hellwig <hch@lst.de>
Mon, 9 Aug 2021 14:17:43 +0000 (16:17 +0200)
committerJens Axboe <axboe@kernel.dk>
Mon, 9 Aug 2021 17:53:23 +0000 (11:53 -0600)
commitedb0872f44ec9976ea6d052cb4b93cd2d23ac2ba
tree077c52abab520da5223f99729c41dc0119f73b4b
parent1008162b2782a3624d12b0aee8da58bc75d12e19
block: move the bdi from the request_queue to the gendisk

The backing device information only makes sense for file system I/O,
and thus belongs into the gendisk and not the lower level request_queue
structure.  Move it there.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Johannes Thumshirn <johannes.thumshirn@wdc.com>
Link: https://lore.kernel.org/r/20210809141744.1203023-5-hch@lst.de
Signed-off-by: Jens Axboe <axboe@kernel.dk>
14 files changed:
block/bfq-iosched.c
block/blk-cgroup.c
block/blk-core.c
block/blk-mq.c
block/blk-settings.c
block/blk-sysfs.c
block/blk-wbt.c
block/genhd.c
drivers/block/drbd/drbd_req.c
drivers/block/pktcdvd.c
fs/block_dev.c
fs/fat/fatent.c
include/linux/blkdev.h
include/linux/genhd.h