]> 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)
commita17dd4bfa36c4342115ac4626375fb94c50be116
tree38ae39ea9002bb126aa259be0e81ffd7b32fa0d9
parentb717196a9940b5fc8682fa8976f9c2e812948b4b
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