[PATCH nvmet-v2 1/1] nvmet: zns: reject full zone report when buffer is too small

Keith Busch kbusch at kernel.org
Mon Aug 10 17:19:47 PDT 2026


On Mon, Jul 13, 2026 at 06:00:00PM +0800, Xixin Liu wrote:
> Zone Management Receive uses the Partial Report (PR) bit in dword 13.  On a
> partial report (PR bit set), the host accepts an incomplete listing and
> Number of Zones must not exceed the zone descriptors copied to the host
> buffer.  On a full report (PR bit clear), Number of Zones is the total
> number of matching zones and every descriptor must fit in the buffer (ZNS
> Command Set Specification Rev 1.2, section 3.4.2).

Thanks, applied to nvme-7.3.



More information about the Linux-nvme mailing list