diff options
author | Heinz Mauelshagen <heinzm@redhat.com> | 2016-05-19 18:49:25 +0200 |
---|---|---|
committer | Mike Snitzer <snitzer@redhat.com> | 2016-06-13 12:00:40 -0400 |
commit | 92c83d79b07ec1c53e0c74b8a7988799e00856db (patch) | |
tree | e2c1e2ffe9727ce5e0e0dee52ba8652f2ab6bafc /tools/perf/scripts/python | |
parent | 73c6f239a86271c17d77f826a0c657f3d393a51e (diff) |
dm raid: use dm_arg_set API in constructor
- use dm_arg_set API in ctr and its callees parse_raid_params() and dev_parms()
- introduce _in_range() function to check a value is in a [ min, max ] range;
this is to support more callers in parsing parameters etc. in the future
- correct comment on MAX_RAID_DEVICES
Signed-off-by: Heinz Mauelshagen <heinzm@redhat.com>
Signed-off-by: Mike Snitzer <snitzer@redhat.com>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions