]> git.baikalelectronics.ru Git - kernel.git/commit
blk-mq: pass in suggested NUMA node to ->alloc_hctx()
authorJens Axboe <axboe@fb.com>
Tue, 27 May 2014 18:06:53 +0000 (12:06 -0600)
committerJens Axboe <axboe@fb.com>
Tue, 27 May 2014 18:06:53 +0000 (12:06 -0600)
commit85d2bb3530bfb125f46b91accafc335f5fdcf821
tree38ae39ea9002bb126aa259be0e81ffd7b32fa0d9
parent9273462b480de38932195d449fe97c991357edd7
blk-mq: pass in suggested NUMA node to ->alloc_hctx()

Drivers currently have to figure this out on their own, and they
are missing information to do it properly. The ones that did
attempt to do it, do it wrong.

So just pass in the suggested node directly to the alloc
function.

Signed-off-by: Jens Axboe <axboe@fb.com>
block/blk-mq-cpumap.c
block/blk-mq.c
block/blk-mq.h
drivers/block/null_blk.c
include/linux/blk-mq.h