Skip to contentSkip to conversation

blk-mq: mtip32xx: set numa node in blk_mq_reg structure

PATCH Jeff Moyer 2 participants 2 messages Oct 14, 2013 – Oct 15, 2013 Block layer

lore
Share & tools
lore

Jeff Moyer

author
#0 lore raw

Hi,

The mtip32xx driver figures out its numa node, but never updates its blk_mq_reg structure.

Patch against the new-queue branch of linux-block.git.

drivers/block/mtip32xx/mtip32xx.c +1 -0
index 3c4c668..ca63a00 100644
@@ -3990,6 +3990,7 @@ static int mtip_pci_probe(struct pci_dev *pdev,
 		my_node, pcibus_to_node(pdev->bus), dev_to_node(&pdev->dev),
 		cpu_to_node(smp_processor_id()), smp_processor_id());
 
+	mtip_mq_reg.numa_node = my_node;
 	dd = kzalloc_node(sizeof(struct driver_data), GFP_KERNEL, my_node);
 	if (dd == NULL) {
 		dev_err(&pdev->dev,
maintainer
#1 lore raw
Quoted 6 lines · Jeff Moyer

Hi,

The mtip32xx driver figures out its numa node, but never updates its blk_mq_reg structure.

Patch against the new-queue branch of linux-block.git.

Thanks Jeff, applied.

Signature · 1 line
Jens Axboe