[PATCH v2 0/2] nvme: ZNS append limit and FDP feature decoding
From: shao.mingyin
Date: Sun Nov 22 2026 - 09:48:47 EST
Two fixes from the [PATCH 0/5] nvme series posted on November 15 are
resent as a second revision. The other members of that series are
settled: 3/5 "nvmet: validate the LBA format count of a passthrough
namespace" was applied as e52b8562e2ad, 5/5 "nvme: bound the reservation
report retry loop" as b80093c7d0aa, and 2/5 "nvme: map passthrough data
when the length is nonzero" is withdrawn, because reusing a command
structure for a no-data command regressed from success to EFAULT.
Shao Mingyin (2):
nvme: zns: reject an out-of-range zone append size limit
nvme: decode the FDP Get Features result as a dword
drivers/nvme/host/core.c | 6 +++---
drivers/nvme/host/zns.c | 4 ++--
include/linux/nvme.h | 6 +-----
3 files changed, 6 insertions(+), 10 deletions(-)
Changes in v2:
- 1/2: drop the dev_warn() for ZASL values that are valid but do not fit
in max_zone_append, as Christoph asked. Such values fall back to
max_hw_sectors, and the changelog describes the representable range
instead of calling the value invalid.
- 2/2: drop the structure that became unused, as Christoph asked. I also
looked into the Sashiko report on hdr.sze: the buffer is on the stack,
so blk_rq_map_kern() copies through zero-filled pages and copies the
full length back, which means there is no uninitialized read and no
separate patch.
v1: https://lore.kernel.org/all/202611150127512368BGQ07ZNIRAIwClkam-8u@xxxxxxxxxx/
base-commit: 909ef7a9a30fa139e69e555e3606680f5cca7726