Heinz Mauelshagen f090279eaf 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>
2016-06-13 14:40:27 -04:00
..
2016-05-31 11:52:59 -07:00
2016-06-03 22:34:18 +02:00
2016-05-31 22:17:05 +05:30
2016-05-28 17:37:42 +02:00
2016-05-29 22:32:27 -07:00
2016-05-28 12:23:12 -07:00
2016-06-07 13:41:38 -06:00
2016-05-31 21:25:52 -06:00
2016-05-31 08:20:43 +03:00