summaryrefslogtreecommitdiffstats
path: root/drivers/md/dm-io.c
diff options
context:
space:
mode:
authorMike Snitzer <snitzer@redhat.com>2013-09-13 00:06:12 +0200
committerMike Snitzer <snitzer@redhat.com>2013-09-23 16:42:24 +0200
commitf47908269fb53d522a956b78612a0037f5faf8e7 (patch)
tree47723023a5389daa5cdd974d4b53c3d91198be6e /drivers/md/dm-io.c
parentdm: lower bio-based mempool reservation (diff)
downloadlinux-f47908269fb53d522a956b78612a0037f5faf8e7.tar.xz
linux-f47908269fb53d522a956b78612a0037f5faf8e7.zip
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: Mike Snitzer <snitzer@redhat.com> Signed-off-by: Frank Mayhar <fmayhar@google.com> Acked-by: Mikulas Patocka <mpatocka@redhat.com>
Diffstat (limited to 'drivers/md/dm-io.c')
0 files changed, 0 insertions, 0 deletions