Skip to contentSkip to conversation

nvme-pci: override the value of the controller's numa node

PATCH Christoph Hellwig 2 participants 2 messages Jun 15, 2020 2 messages not in the archive NVMe

lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): [email protected]

A message that is not in the archive (sent off-list or not yet received): [email protected]

Christoph Hellwig

author maintainer
#2 lore raw
Quoted 3 lines · Max Gurtovoy

Set the node value according to the PCI device numa node.

It doesn't seem like we use ctrl->numa_node for much, though. For RDMA which initially added this set->numa_node is initialized based on the ctrl one. Maybe you want to add a patch to at least use it for the set initialization everywhere as well?

What is the motivation behind the patch set?

_______________________________________________
linux-nvme mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/linux-nvme

#3 lore raw
Quoted 8 lines · Christoph Hellwig
Quoted 3 lines · Max Gurtovoy

Set the node value according to the PCI device numa node.

It doesn't seem like we use ctrl->numa_node for much, though. For RDMA which initially added this set->numa_node is initialized based on the ctrl one. Maybe you want to add a patch to at least use it for the set initialization everywhere as well?

Yes i'll do that as well.

Quoted 2 lines

What is the motivation behind the patch set?

For PCI/TCP, you use wrong numa_node in nvme_alloc_ns for example and also the configfs show wrong value (always 0).

_______________________________________________
linux-nvme mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/linux-nvme