]> git.ipfire.org Git - thirdparty/linux.git/commit - include/linux/blkdev.h
block: pass a gendisk to blk_queue_max_open_zones and blk_queue_max_active_zones
authorChristoph Hellwig <hch@lst.de>
Wed, 6 Jul 2022 07:03:44 +0000 (09:03 +0200)
committerJens Axboe <axboe@kernel.dk>
Wed, 6 Jul 2022 12:46:26 +0000 (06:46 -0600)
commit982977df48179c8c690868f398051074e68eef0f
treeb7521de4899b21822ca2f18a2c5ffc874977509a
parent1dc0172027b0aa09823b430e395b1116d2745f36
block: pass a gendisk to blk_queue_max_open_zones and blk_queue_max_active_zones

Switch to a gendisk based API in preparation for moving all zone related
fields from the request_queue to 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-11-hch@lst.de
Signed-off-by: Jens Axboe <axboe@kernel.dk>
drivers/block/null_blk/zoned.c
drivers/nvme/host/zns.c
drivers/scsi/sd_zbc.c
include/linux/blkdev.h