commit | 2984c8684f962c2936b7175ec5df44e9d607cea9 | [log] [tgz] |
---|---|---|
author | Shaohua Li <shli@fb.com> | Mon Aug 14 15:04:52 2017 -0700 |
committer | Jens Axboe <axboe@kernel.dk> | Wed Aug 23 08:54:00 2017 -0600 |
tree | 9dc70e2e48aeb1fdefa9386b8699e4829237d8ed | |
parent | 92d499d4905ce79c41a4b9a399ab6b89188f87e9 [diff] |
nullb: factor disk parameters 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: Shaohua Li <shli@fb.com> Signed-off-by: Jens Axboe <axboe@kernel.dk>