Re: [patch] block: allocate request memory local to request queue

2015-03-07 Thread Tejun Heo
On Sat, Mar 07, 2015 at 06:53:46PM -0800, David Rientjes wrote: > 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 its

[patch] block: allocate request memory local to request queue

2015-03-07 Thread David Rientjes
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 functi