Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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 <[email protected]> Signed-off-by: David Rientjes <[email protected]> Signed-off-by: Jens Axboe <[email protected]>
- Loading branch information