aboutsummaryrefslogtreecommitdiff
path: root/block/blk-mq.c
diff options
context:
space:
mode:
authorDavid Rientjes <rientjes@google.com>2015-03-24 16:21:16 -0700
committerJens Axboe <axboe@fb.com>2015-03-24 20:00:07 -0600
commit271508dba2c3fc307e7c44e2731a2ece70a4025e (patch)
tree490ba0bdb3ab6d72974ed73c8adcdc3ce0b12329 /block/blk-mq.c
parentbfd343aa1718457d34b99ce6573085ac340da288 (diff)
block: allocate request memory local to request queue
blk_init_rl() allocates a mempool using mempool_create_node() with node local memory. This only allocates the mempool and element list locally to the requeue queue node. What we really want to do is allocate the request itself local to the queue. To do this, we need our own alloc and free functions that will allocate from request_cachep and pass the request queue node in to prefer node local memory. Acked-by: Tejun Heo <tj@kernel.org> Signed-off-by: David Rientjes <rientjes@google.com> Signed-off-by: Jens Axboe <axboe@fb.com>
Diffstat (limited to 'block/blk-mq.c')
0 files changed, 0 insertions, 0 deletions