]> www.infradead.org Git - nvme.git/commit
sd: move zone limits setup out of sd_read_block_characteristics
authorChristoph Hellwig <hch@lst.de>
Mon, 17 Jun 2024 06:04:30 +0000 (08:04 +0200)
committerJens Axboe <axboe@kernel.dk>
Wed, 19 Jun 2024 13:58:27 +0000 (07:58 -0600)
commit308ad58af49d6c4c3b7a36b98972cc9db4d7b36a
tree851a8225be282a5a76d48999d78eb9d026c154f2
parentbe60e7700e6df1e16a2f60f45bece08e6140a46d
sd: move zone limits setup out of sd_read_block_characteristics

Move a bit of code that sets up the zone flag and the write granularity
into sd_zbc_read_zones to be with the rest of the zoned limits.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Damien Le Moal <dlemoal@kernel.org>
Reviewed-by: Hannes Reinecke <hare@suse.de>
Link: https://lore.kernel.org/r/20240617060532.127975-4-hch@lst.de
Signed-off-by: Jens Axboe <axboe@kernel.dk>
drivers/scsi/sd.c
drivers/scsi/sd_zbc.c