[PATCH 1/1] nvme-fabrics: Generate uevent on namespace AENs

Keith Busch kbusch at kernel.org
Fri Apr 30 17:21:04 BST 2021


On Fri, Apr 30, 2021 at 05:14:55AM +0000, Rao, Vinay wrote:
> + Madhu
> 
> Hi Chaitanya, 
> 
> Some of the AEN's like ANA state change and Name Space attribute change events are of interest outside the NVME driver. 
> 
> It would be good to consider these events to be propagated up to user space. I am not yet convinced on how propagating this above to user space is problematic.

The namespace attribute change event pairs with the Changed Namespace
List log, and reading that log will change the result for a subsequent
reader. User space racing with the kernel on a log access when there are
read side effects creates non-deterministic behavior, and that is
problematic.



More information about the Linux-nvme mailing list