From: Mike Snitzer Date: Mon, 27 Apr 2015 20:37:50 +0000 (-0400) Subject: dm: do not allocate any mempools for blk-mq request-based DM X-Git-Tag: omap-for-v4.2/fixes-rc1^2~116^2~38 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=cbc4e3c1350beb47beab8f34ad9be3d34a20c705;p=pandora-kernel.git dm: do not allocate any mempools for blk-mq request-based DM Do not allocate the io_pool mempool for blk-mq request-based DM (DM_TYPE_MQ_REQUEST_BASED) in dm_alloc_rq_mempools(). Also refine __bind_mempools() to have more precise awareness of which mempools each type of DM device uses -- avoids mempool churn when reloading DM tables (particularly for DM_TYPE_REQUEST_BASED). Signed-off-by: Mike Snitzer --- Reading git-diff-tree failed