• M
    dm: add reserved_bio_based_ios module parameter · e8603136
    Mike Snitzer 提交于
    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: NMike Snitzer <snitzer@redhat.com>
    Signed-off-by: NFrank Mayhar <fmayhar@google.com>
    e8603136
dm-io.c 12.8 KB