]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit67ef75e68e8b89b2c2db19ccfcd152f84f7d6dfe
treeb7521de4899b21822ca2f18a2c5ffc874977509a
parentf19ce0c2b919e2f949744876cbe0307ff061010e
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