Re: [PATCH v2 4/4] block, nvme: use lower-level limit helpers for namespace heads
John Garry <[email protected]>
| Newsgroups | org.kernel.vger.linux-block,org.infradead.lists.linux-nvme |
|---|---|
| Organization | Oracle Corporation |
| Message-ID | <[email protected]> |
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)