]> www.infradead.org Git - users/hch/block.git/commit
nvme: remove nvme_revalidate_zones
authorChristoph Hellwig <hch@lst.de>
Mon, 26 Feb 2024 17:37:46 +0000 (12:37 -0500)
committerChristoph Hellwig <hch@lst.de>
Thu, 29 Feb 2024 15:00:59 +0000 (07:00 -0800)
commit4e69ae2941c819f09e0b259df4625eab6e4a88e6
tree16e669d2fbb4d84c0a4e40913178f425d97b8ba6
parentbc827ebca23fcd3751f272b64a2243faed044d7b
nvme: remove nvme_revalidate_zones

Handle setting the zone size / chunk_sectors and max_append_sectors
limits together with the other ZNS limits, and just open code the
call to blk_revalidate_zones in the current place.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Damien Le Moal <dlemoal@kernel.org>
drivers/nvme/host/core.c
drivers/nvme/host/nvme.h
drivers/nvme/host/zns.c