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

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-8-hch@lst.de
Signed-off-by: Jens Axboe <axboe@kernel.dk>
block/blk-settings.c
block/blk-zoned.c
block/blk.h