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-06-07 13:41:38 -06:00
2016-06-07 13:41:38 -06:00
2016-06-07 13:41:38 -06:00
2016-06-07 13:41:38 -06:00
2016-01-20 13:52:20 -08:00
2015-08-13 12:31:57 -06:00