]> www.infradead.org Git - users/hch/block.git/commit
block: move zone related fields to struct gendisk block-zoned-cleanup
authorChristoph Hellwig <hch@lst.de>
Thu, 30 Jun 2022 08:29:13 +0000 (10:29 +0200)
committerChristoph Hellwig <hch@lst.de>
Tue, 5 Jul 2022 10:07:03 +0000 (12:07 +0200)
commitf4753ce5100ed9ecd185b768cfa52a3601c99df9
tree8766e3f33cbad471aac96dc5b25c7f1f1a385b2f
parent205a7b19f16cab1d231ea4321bb0329ec62e9d13
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>
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