All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 1/5 v2] nvme: set initial value for controller's numa node
@ 2020-06-16  9:34 Max Gurtovoy
  2020-06-16  9:34 ` [PATCH 2/5 v2] nvme-pci: override the value of the " Max Gurtovoy
                   ` (4 more replies)
  0 siblings, 5 replies; 6+ messages in thread
From: Max Gurtovoy @ 2020-06-16  9:34 UTC (permalink / raw)
  To: sagi, linux-nvme, kbusch, hch, james.smart; +Cc: Max Gurtovoy, israelr, shlomin

Initialize the node to NUMA_NO_NODE value. Transports that are aware of
numa node affinity can override it (e.g. RDMA transport set the affinity
according to the RDMA HCA).

Signed-off-by: Max Gurtovoy <maxg@mellanox.com>
---
 drivers/nvme/host/core.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/nvme/host/core.c b/drivers/nvme/host/core.c
index c2c5bc4..915fa2e 100644
--- a/drivers/nvme/host/core.c
+++ b/drivers/nvme/host/core.c
@@ -4174,6 +4174,7 @@ int nvme_init_ctrl(struct nvme_ctrl *ctrl, struct device *dev,
 	ctrl->dev = dev;
 	ctrl->ops = ops;
 	ctrl->quirks = quirks;
+	ctrl->numa_node = NUMA_NO_NODE;
 	INIT_WORK(&ctrl->scan_work, nvme_scan_work);
 	INIT_WORK(&ctrl->async_event_work, nvme_async_event_work);
 	INIT_WORK(&ctrl->fw_act_work, nvme_fw_act_work);
-- 
1.8.3.1


_______________________________________________
linux-nvme mailing list
linux-nvme@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-nvme

^ permalink raw reply related	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2020-06-17  8:06 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-06-16  9:34 [PATCH 1/5 v2] nvme: set initial value for controller's numa node Max Gurtovoy
2020-06-16  9:34 ` [PATCH 2/5 v2] nvme-pci: override the value of the " Max Gurtovoy
2020-06-16  9:34 ` [PATCH 3/5 v2] nvme-pci: initialize tagset numa value to the value of the ctrl Max Gurtovoy
2020-06-16  9:34 ` [PATCH 4/5 v2] nvme-tcp: " Max Gurtovoy
2020-06-16  9:34 ` [PATCH 5/5 v2] nvme-loop: " Max Gurtovoy
2020-06-17  8:06 ` [PATCH 1/5 v2] nvme: set initial value for controller's numa node Christoph Hellwig

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.