[PATCH] nvme-multipath: require exact iopolicy names for module parameter

Keith Busch kbusch at kernel.org
Tue Jun 2 03:17:56 PDT 2026


On Fri, May 29, 2026 at 04:51:43PM +0800, dayou5941 at 163.com wrote:
> From: liyouhong <liyouhong at kylinos.cn>
> 
> The iopolicy module parameter uses strncmp prefix matching, so values
> like "numax" are accepted as "numa".  The per-subsystem sysfs attribute
> already requires an exact match via sysfs_streq().  Parse both through
> a shared helper so invalid values are rejected consistently.

Thanks, applied to nvme-7.2.



More information about the Linux-nvme mailing list