[PATCH v2] nvme-multipath: add iopolicies sysfs attribute

Keith Busch kbusch at kernel.org
Tue Sep 22 08:04:07 PDT 2026


On Mon, Sep 21, 2026 at 10:43:47AM -0400, loberman at redhat.com wrote:
> From: Laurence Oberman <loberman at redhat.com>
> 
> The subsystem iopolicy attribute only shows the active policy, so
> there is no way to see which policies are available.
> 
> Changing the output of iopolicy would break existing userspace,
> since nvme-cli compares the value against a bare policy name. Leave
> iopolicy unchanged and add a read-only iopolicies attribute that
> lists the available policies:
> 
>   # cat iopolicies
>   numa round-robin queue-depth
> 
> The current policy is still read from iopolicy.

Thanks, applied to nvme-7.4.



More information about the Linux-nvme mailing list