summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorHeinz Mauelshagen <heinzm@redhat.com>2016-05-19 19:49:27 +0300
committerMike Snitzer <snitzer@redhat.com>2016-06-13 21:40:27 +0300
commitf090279eaff814a550b35bb51aac6b8541bddf97 (patch)
tree63013e80c7294f09668d0d91fa0a714db23a7090 /tools/perf/scripts/python/export-to-postgresql.py
parent702108d194e3649f69afcd2661282a0157c71e54 (diff)
downloadlinux-f090279eaff814a550b35bb51aac6b8541bddf97.tar.xz
dm raid: check constructor arguments for invalid raid level/argument combinations
Reject invalid flag combinations to avoid potential data corruption or failing raid set construction: - add definitions for constructor flag combinations and invalid flags per level - add bool test functions for the various raid types (also will be used by future reshaping enhancements) - introduce rs_check_for_invalid_flags() and _invalid_flags() to perform the validity checks 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