Revision 8a69b3a8
ID | 8a69b3a8193cab2c46daceccf8686028a43cecc3 |
Add DRBD barriers disk parameters
Add the disk-barriers and meta-barriers parameters described in the
design doc.
- add the needed LD and DT-level parameters, use the defaults provided
at ./configure time; - add constants representing which barriers should be disabled and the
set of valid options.
- factor the barriers handling code to a class method, for testing
purposes; - implement the more granular version checking logic;
- use the LD level parameters;
- add stricter check on DRBD version (8.0, 8.2 or 8.3), as we do not
support 8.4 yet.
- translate DT level parameters to LD level ones.
- set both disk and meta barriers parameters depending on the value of
--enable-drbd-barriers.
- unit tests for the code that sets DRBD barrier parameters depending on
the version.
- reword the description of meta-barriers;
- change all disk parameters names to use dashes instead of underscores.
Signed-off-by: Andrea Spadaccini <spadaccio@google.com>
Reviewed-by: Iustin Pop <iustin@google.com>
Files
- added
- modified
- copied
- renamed
- deleted