nvme: remove nvme_revalidate_zones
authorChristoph Hellwig <hch@lst.de>
Mon, 4 Mar 2024 14:04:47 +0000 (07:04 -0700)
committerKeith Busch <kbusch@kernel.org>
Mon, 4 Mar 2024 16:24:55 +0000 (08:24 -0800)
commit1b2f5d5d288080ea10b4e2ed595c0dfb11557c17
tree12b2be537b499538276a0e2a45ec8bebad944e78
parent63dfa1004322d596417f23da43cdc43cf6298c71
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>
Signed-off-by: Keith Busch <kbusch@kernel.org>
drivers/nvme/host/core.c
drivers/nvme/host/nvme.h
drivers/nvme/host/zns.c