Skip to content
Commit cbc4e3c1 authored by Mike Snitzer's avatar Mike Snitzer
Browse files

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: default avatarMike Snitzer <snitzer@redhat.com>
parent 183f7802
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment