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

dm: add reserved_rq_based_ios module parameter



Allow user to change the number of IOs that are reserved by
request-based DM's mempools by writing to this file:
/sys/module/dm_mod/parameters/reserved_rq_based_ios

The default value is RESERVED_REQUEST_BASED_IOS (256).  The maximum
allowed value is RESERVED_MAX_IOS (1024).

Export dm_get_reserved_rq_based_ios() for use by DM targets and core
code.  Switch to sizing dm-mpath's mempool using DM core's configurable
'reserved_rq_based_ios'.

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 6cfa5857
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