diff options
| author | Maurizio Lombardi <mlombard@redhat.com> | 2025-11-03 15:44:06 +0100 |
|---|---|---|
| committer | Keith Busch <kbusch@kernel.org> | 2026-01-13 13:53:03 -0800 |
| commit | ddfb8b322bbd8ae996f4ac0192f0190feb0a01ce (patch) | |
| tree | 10dac57a642d9a0ca1a625610577cecf19a17b54 /include | |
| parent | f947d9e77b26238b821b5227afb4fee8c7ea0d5a (diff) | |
nvme: expose active quirks in sysfs
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".
Tested-by: John Meneghini <jmeneghi@redhat.com>
Reviewed-by: John Meneghini <jmeneghi@redhat.com>
Reviewed-by: Sagi Grimberg <sagi@grimberg.me>
Reviewed-by: Martin K. Petersen <martin.petersen@oracle.com>
Reviewed-by: Chaitanya Kulkarni <kch@nvidia.com>
Signed-off-by: Maurizio Lombardi <mlombard@redhat.com>
Signed-off-by: Keith Busch <kbusch@kernel.org>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions
