blk-mq: mtip32xx: set numa node in blk_mq_reg structure
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.
Signed-off-by Jeff Moyer <[email protected]>
drivers/block/mtip32xx/mtip32xx.c +1 -0
@@ -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,
Jens Axboe
maintainerQuoted 6 lines · Jeff Moyer
Hi,
The mtip32xx driver figures out its numa node, but never updates its
blk_mq_regstructure.Patch against the new-queue branch of linux-block.git.
Thanks Jeff, applied.
Signature · 1 line
Jens Axboe