]> git.baikalelectronics.ru Git - kernel.git/commit
block: pass a gendisk to blk_queue_set_zoned
authorChristoph Hellwig <hch@lst.de>
Wed, 6 Jul 2022 07:03:40 +0000 (09:03 +0200)
committerJens Axboe <axboe@kernel.dk>
Wed, 6 Jul 2022 12:46:26 +0000 (06:46 -0600)
commita0fb8e3c73a5a6e8de334cef2f7a931e147b9955
tree25350dc7d33c0c01201cae527be6c4b91baf07ca
parentb9fc4528ede6caadf0853bfeb24b53e5d2890c45
block: pass a gendisk to blk_queue_set_zoned

Prepare for storing the zone related field in struct gendisk instead
of struct request_queue.

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-7-hch@lst.de
Signed-off-by: Jens Axboe <axboe@kernel.dk>
block/blk-settings.c
block/partitions/core.c
drivers/block/null_blk/zoned.c
drivers/nvme/host/zns.c
drivers/scsi/sd.c
drivers/scsi/sd_zbc.c
include/linux/blkdev.h