aboutsummaryrefslogtreecommitdiffstats
path: root/lib/lockref.c
diff options
context:
space:
mode:
authorMike Snitzer <[email protected]>2013-09-12 22:06:12 +0000
committerMike Snitzer <[email protected]>2013-09-23 14:42:24 +0000
commite8603136cb04ec2d0c9b4b5be7a071fc003cb399 (patch)
treee642b195034f281eeb76de62f5bcf3deb2985de1 /lib/lockref.c
parentdm: add reserved_rq_based_ios module parameter (diff)
downloadkernel-e8603136cb04ec2d0c9b4b5be7a071fc003cb399.tar.gz
kernel-e8603136cb04ec2d0c9b4b5be7a071fc003cb399.zip
dm: add reserved_bio_based_ios module parameter
Allow user to change the number of IOs that are reserved by bio-based DM's mempools by writing to this file: /sys/module/dm_mod/parameters/reserved_bio_based_ios The default value is RESERVED_BIO_BASED_IOS (16). The maximum allowed value is RESERVED_MAX_IOS (1024). Export dm_get_reserved_bio_based_ios() for use by DM targets and core code. Switch to sizing dm-io's mempool and bioset using DM core's configurable 'reserved_bio_based_ios'. Signed-off-by: Mike Snitzer <[email protected]> Signed-off-by: Frank Mayhar <[email protected]>
Diffstat (limited to 'lib/lockref.c')
0 files changed, 0 insertions, 0 deletions