[PATCH V2] nvme: expose active quirks in sysfs

Martin K. Petersen martin.petersen at oracle.com
Tue Nov 4 19:05:07 PST 2025


Maurizio,

> Currently, there is no straightforward way for a user to inspect which
> quirks are active for a given device from userspace.
>
> Add a new "quirks" sysfs attribute to the nvme controller device.
>
> Reading this file will display a human-readable list of all active
> quirks, with each quirk name on a new line. If no quirks are active,
> it will display "none".

Looks OK to me.

Reviewed-by: Martin K. Petersen <martin.petersen at oracle.com>

-- 
Martin K. Petersen



More information about the Linux-nvme mailing list