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 <jmo...@redhat.com>

diff --git a/drivers/block/mtip32xx/mtip32xx.c 
b/drivers/block/mtip32xx/mtip32xx.c
index 3c4c668..ca63a00 100644
--- a/drivers/block/mtip32xx/mtip32xx.c
+++ b/drivers/block/mtip32xx/mtip32xx.c
@@ -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,
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Reply via email to