Skip to content

Commit

Permalink
nullb: factor disk parameters
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
shligit authored and axboe committed Aug 23, 2017
1 parent 92d499d commit 2984c86
Showing 1 changed file with 153 additions and 81 deletions.
Loading

0 comments on commit 2984c86

Please sign in to comment.