[PATCH] nvme: avoid creating multipath sysfs group under namespace path devices

Christoph Hellwig hch at lst.de
Wed May 21 05:48:51 PDT 2025


On Wed, May 21, 2025 at 06:11:23PM +0530, Nilay Shroff wrote:
> The multipath sysfs group should only be exposed through the namespace
> head gendisk node. This is sufficient, as the head device already
> provides symbolic links to the individual namespace paths it manages.
> 
> This patch fixes the issue by preventing the creation of the multipath
> sysfs group under namespace path devices, ensuring it only appears under
> the head disk node.

Yeah.  Looks like we should still try to rush this into 6.15?  I'll
tentatively queued it up because the pull request needs to got to
Jens tomorrow for that.  Any expedited reviews would be appreciated.

> +static struct attribute dummy_attr = {
> +		.name = "dummy",
> +};

The double tab here looks wrong.  I'll fix it up.




More information about the Linux-nvme mailing list