From: Jeff Moyer <jmoyer@redhat.com>
To: Jens Axboe <jaxboe@fusionio.com>,
Sam Bradshaw <sbradshaw@micron.com>,
Asai Thambi S P <asamymuthupa@micron.com>
Cc: linux-kernel@vger.kernel.org
Subject: blk-mq: mtip32xx: set numa node in blk_mq_reg structure
Date: Mon, 14 Oct 2013 17:07:03 -0400 [thread overview]
Message-ID: <x49hacja7ew.fsf@segfault.boston.devel.redhat.com> (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.
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,
next reply other threads:[~2013-10-14 21:07 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-10-14 21:07 Jeff Moyer [this message]
2013-10-15 15:11 ` Jens Axboe
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=x49hacja7ew.fsf@segfault.boston.devel.redhat.com \
--to=jmoyer@redhat.com \
--cc=asamymuthupa@micron.com \
--cc=jaxboe@fusionio.com \
--cc=linux-kernel@vger.kernel.org \
--cc=sbradshaw@micron.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®