]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/commit - block/blk-mq.h
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)
commitf14bbe77a96bb979dc539d8308ee18a9363a544f
tree38ae39ea9002bb126aa259be0e81ffd7b32fa0d9
parent3d2936f457a847d9d88a9cc127e0eb7a0ebba0ff
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