[PATCH 2/2] nvme: fix atomic write boundary validation
John Garry
john.g.garry at oracle.com
Tue Jun 17 00:36:36 PDT 2025
On 11/06/2025 06:54, Christoph Hellwig wrote:
> Don't mix the namespace and controller values, and validate the
> per-controller limit when probing the controller. This avoid spurious
> failures for controllers with namespaces that have different namespaces
> with different logical block sizes, or report the per-namespace values
> only for some namespaces.
>
> It also fixes a missing queue_limits_cancel_update in an error path by
> removing that error path.
>
> Fixes: 8695f060a029 ("nvme: all namespaces in a subsystem must adhere to a common atomic write size")
> Reported-by: Yi Zhang <yi.zhang at redhat.com>
> Signed-off-by: Christoph Hellwig <hch at lst.de>
Is boundary the right word in the subject?
Anyway, FWIW:
Reviewed-by: John Garry <john.g.garry at oracle.com>
More information about the Linux-nvme
mailing list