Skip to content

Commit

Permalink
dm: add reserved_bio_based_ios module parameter
Browse files Browse the repository at this point in the history
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]>
  • Loading branch information
snitm committed Sep 23, 2013
1 parent f479082 commit e860313

Sorry, this diff is temporarily unavailable due to heavy server load.

Please try again later.

0 comments on commit e860313

Please sign in to comment.