* blk-mq: mtip32xx: set numa node in blk_mq_reg structure
@ 2013-10-14 21:07 Jeff Moyer
2013-10-15 15:11 ` Jens Axboe
0 siblings, 1 reply; 2+ messages in thread
From: Jeff Moyer @ 2013-10-14 21:07 UTC (permalink / raw)
To: Jens Axboe, Sam Bradshaw, Asai Thambi S P; +Cc: linux-kernel
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 <jmoyer@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,
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: blk-mq: mtip32xx: set numa node in blk_mq_reg structure
2013-10-14 21:07 blk-mq: mtip32xx: set numa node in blk_mq_reg structure Jeff Moyer
@ 2013-10-15 15:11 ` Jens Axboe
0 siblings, 0 replies; 2+ messages in thread
From: Jens Axboe @ 2013-10-15 15:11 UTC (permalink / raw)
To: Jeff Moyer; +Cc: Sam Bradshaw, Asai Thambi S P, linux-kernel
On Mon, Oct 14 2013, Jeff Moyer wrote:
> 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.
--
Jens Axboe
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2013-10-15 15:11 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-10-14 21:07 blk-mq: mtip32xx: set numa node in blk_mq_reg structure Jeff Moyer
2013-10-15 15:11 ` Jens Axboe
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).