Skip to content
  • Shaohua Li's avatar
    nullb: factor disk parameters · 2984c868
    Shaohua Li authored
    
    
    When we switch to configfs interface, each disk could have different
    configuration. To prepare for the change, we move most disk setting to a
    separate data structure. The existing module parameter interface is
    kept. The 'nr_devices' and 'shared_tags' don't make sense for per-disk
    setting, so they are remained as global settings.
    
    Signed-off-by: default avatarShaohua Li <shli@fb.com>
    Signed-off-by: default avatarJens Axboe <axboe@kernel.dk>
    2984c868