[PATCHv3 RFC 1/1] nvme-multipath: Add sysfs attributes for showing multipath info

Daniel Wagner dwagner at suse.de
Tue Sep 10 00:28:00 PDT 2024


On Tue, Sep 10, 2024 at 12:14:08PM GMT, Nilay Shroff wrote:
> >> +		if (ns == current_ns)
> >> +			node_set(node, numa_nodes);
> > 
> > And if ns matches current_ns can't you break the loop?
> I think no. Here we map each numa node preferred for a namespace path.
> So for instance, if the current_ns (nvmeXcYnZ) path  is preferred for I/O 
> workload running on numa nodes i and j then we accordingly set the
> respective node values (i and j) in the nodemask (numa_nodes) which is a 
> bitmap.

Okay, got it.

Thanks,
Daniel



More information about the Linux-nvme mailing list