]> git.baikalelectronics.ru Git - kernel.git/commit
block: move zone related fields to struct gendisk
authorChristoph Hellwig <hch@lst.de>
Wed, 6 Jul 2022 07:03:50 +0000 (09:03 +0200)
committerJens Axboe <axboe@kernel.dk>
Wed, 6 Jul 2022 12:46:26 +0000 (06:46 -0600)
commitdf5e5e0c03f42ba0ed54043bcbf0f754b380c1b3
treebf6f0ac7be7cb99241a10571094155698ae608e6
parent49b5ce3b123fabb6f0b6de6c1e208cb06c7c7662
block: move zone related fields to struct gendisk

Move the zone related fields that are currently stored in
struct request_queue to struct gendisk as these are part of the highlevel
block layer API and are only used for non-passthrough I/O that requires
the gendisk.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Chaitanya Kulkarni <kch@nvidia.com>
Reviewed-by: Damien Le Moal <damien.lemoal@opensource.wdc.com>
Reviewed-by: Johannes Thumshirn <johannes.thumshirn@wdc.com>
Link: https://lore.kernel.org/r/20220706070350.1703384-17-hch@lst.de
Signed-off-by: Jens Axboe <axboe@kernel.dk>
block/blk-mq-debugfs-zoned.c
block/blk-sysfs.c
block/blk-zoned.c
drivers/block/null_blk/zoned.c
drivers/md/dm-zone.c
drivers/nvme/host/multipath.c
drivers/nvme/target/zns.c
drivers/scsi/sd_zbc.c
include/linux/blk-mq.h
include/linux/blkdev.h