]> www.infradead.org Git - nvme.git/commit
nvme: set BLK_FEAT_ZONED for ZNS multipath disks
authorChristoph Hellwig <hch@lst.de>
Thu, 29 Aug 2024 06:24:37 +0000 (09:24 +0300)
committerKeith Busch <kbusch@kernel.org>
Tue, 3 Sep 2024 17:00:10 +0000 (10:00 -0700)
commit28982ad73d6a9605708631dc49a0c763cc398aa2
treec4f5bd6087add17e6bff2c1a8e7e5c1cd42fd8ac
parent61aa894e7a2fda4ee026523b01d07e83ce2abb72
nvme: set BLK_FEAT_ZONED for ZNS multipath disks

The new stricter limits validation doesn't like a max_append_sectors value
to be set without BLK_FEAT_ZONED.  Set it before allocation the disk to
fix this instead of just inheriting it later.

Fixes: d690cb8ae14b ("block: add an API to atomically update queue limits")
Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Keith Busch <kbusch@kernel.org>
drivers/nvme/host/multipath.c