[PATCH v2 4/4] block, nvme: use lower-level limit helpers for namespace heads
John Garry
john.g.garry at oracle.com
Tue Aug 18 00:52:10 PDT 2026
On 06/08/2026 03:46, Yao Sang wrote:
> Refresh logical_block_size, physical_block_size, io_min, io_opt,
> discard_granularity, zone_write_granularity and the write stream limits
> from the namespace that was just scanned. Keep chunk_sectors conservative
> for non-zoned namespaces because NVME_QUIRK_STRIPE_SIZE can make it
> controller-specific, while zoned namespaces refresh the zone size directly.
I assumed that in this series we would make the change to avoid updating
fixed limits per-path, like logical block size, since that should always
be consistent (per path). However, that does not look to be the case. We
always call nvme_update_ns_head_limits() ->
nvme_apply_ns_head_limits(ns_lim) ->
nvme_apply_ns_head_identify_limit(ns_lim)
More information about the Linux-nvme
mailing list