Skip to content

Commit

Permalink
dm raid: cleanup / provide infrastructure
Browse files Browse the repository at this point in the history
Provide necessary infrastructure to handle ctr flags and their names
and cleanup setting ti->error:

 - comment constructor flags

 - introduce constructor flag manipulation

 - introduce ti_error_*() functions to simplify
   setting the error message (use in other targets?)

 - introduce array to hold ctr flag <-> flag name mapping

 - introduce argument name by flag functions for that array

 - use those functions throughout the ctr call path

Signed-off-by: Heinz Mauelshagen <[email protected]>
Signed-off-by: Mike Snitzer <[email protected]>
  • Loading branch information
mauelsha authored and snitm committed Jun 13, 2016
1 parent 92c83d7 commit 702108d
Showing 1 changed file with 228 additions and 196 deletions.
Loading

0 comments on commit 702108d

Please sign in to comment.