diff options
author | 2016-05-19 18:49:25 +0200 | |
---|---|---|
committer | 2016-06-13 12:00:40 -0400 | |
commit | 92c83d79b07ec1c53e0c74b8a7988799e00856db (patch) | |
tree | e2c1e2ffe9727ce5e0e0dee52ba8652f2ab6bafc /tools/perf/scripts/python/export-to-postgresql.py | |
parent | dm raid: rename variable 'ret' to 'r' to conform to other dm code (diff) | |
download | linux-dev-92c83d79b07ec1c53e0c74b8a7988799e00856db.tar.xz linux-dev-92c83d79b07ec1c53e0c74b8a7988799e00856db.zip |
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/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions