[bug report] nvme4: inconsistent AWUPF, controller not added (0/7).
Christoph Hellwig
hch at lst.de
Sun Jul 6 22:37:49 PDT 2025
On Fri, Jul 04, 2025 at 10:17:38AM +0800, Ming Lei wrote:
> Per NVMe spec, AWUPF unit is 'logical blocks', and logical block size is changed
> by 'nvme format', so AWUPF value retuned from `Identify command` can be changed
> because the controller implements fixed-length atomic write size(512*8, 4096 * 1)?
>
Yes. And that's an issue because NVMe doesn't have a controller-level
concept of a logical bloc ksize, the logical block size is per-namespace.
Or in other words, AWUPF is a mess.
More information about the Linux-nvme
mailing list