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

dm: lower bio-based mempool reservation



Bio-based device mapper processing doesn't need larger mempools (like
request-based DM does), so lower the number of reserved entries for
bio-based operation.  16 was already used for bio-based DM's bioset
but mistakenly wasn't used for it's _io_cache.

Formalize difference between bio-based and request-based defaults by
introducing RESERVED_BIO_BASED_IOS and RESERVED_REQUEST_BASED_IOS.

(based on older code from Mikulas Patocka)

Signed-off-by: default avatarMike Snitzer <snitzer@redhat.com>
Signed-off-by: default avatarFrank Mayhar <fmayhar@google.com>
Acked-by: default avatarMikulas Patocka <mpatocka@redhat.com>
parent b60ab990
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