]> git.baikalelectronics.ru Git - kernel.git/commit
nvme: allocate nvme_queue in correct node
authorShaohua Li <shli@fb.com>
Wed, 1 Feb 2017 17:53:16 +0000 (09:53 -0800)
committerJens Axboe <axboe@fb.com>
Thu, 2 Mar 2017 15:56:04 +0000 (08:56 -0700)
commite0084341e715491510012837034293978b63f478
treeff9ee4bb65a27a05af27233a6b0dae53e00fc06a
parent686d9a073391e62a0f152cfd6cdbd056d040c0ab
nvme: allocate nvme_queue in correct node

nvme_queue is per-cpu queue (mostly). Allocating it in node where blk-mq
will use it.

Signed-off-by: Shaohua Li <shli@fb.com>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Jens Axboe <axboe@fb.com>
drivers/nvme/host/pci.c