From: David Rientjes Date: Tue, 24 Mar 2015 23:21:16 +0000 (-0700) Subject: block: allocate request memory local to request queue X-Git-Tag: omap-for-v4.1/fixes-rc1~119^2~5 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=271508dba2c3fc307e7c44e2731a2ece70a4025e;p=pandora-kernel.git 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 Signed-off-by: David Rientjes Signed-off-by: Jens Axboe --- Reading git-diff-tree failed