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)
commitd3af3ecdc62c46fa67ce7a681f173acb1d750e33
treeff9ee4bb65a27a05af27233a6b0dae53e00fc06a
parent27ddb689909cd0bab30524a5f720ae3a3e55acac
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