[RFC PATCH] nvme: add an opt-in to use AWUPF

Christoph Hellwig hch at lst.de
Thu Aug 21 01:35:37 PDT 2025


On Wed, Aug 20, 2025 at 03:02:20PM +0000, John Garry wrote:
> As described at [0], many parts of the atomic write specification are
> lacking.

I like your british understatement.

> +	list_for_each_entry(tmp, &subsys->ctrls, subsys_entry)
> +		nvme_queue_scan(tmp);

queueing a full rescan here seems expensive.  What about just keeping
the awupf value in our internal data structures and always use it
for the physical block size calculation, but only apply it to the
atomic limits based on a flag?




More information about the Linux-nvme mailing list