]> www.infradead.org Git - users/hch/block.git/commit
nvme: set BLK_FEAT_ZONED for ZNS multipath disks
authorChristoph Hellwig <hch@lst.de>
Thu, 29 Aug 2024 06:05:07 +0000 (09:05 +0300)
committerChristoph Hellwig <hch@lst.de>
Thu, 29 Aug 2024 06:22:51 +0000 (09:22 +0300)
commit83c5efc97dcaf63fb49243ce371fb4e74745a1d8
treebf1346cbf2539d63094e071b0722904de937cd27
parent9aa14404d3d57b45ac49c991795d0467da06813c
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>
drivers/nvme/host/multipath.c