summaryrefslogtreecommitdiff
path: root/tools/args.h
diff options
context:
space:
mode:
Diffstat (limited to 'tools/args.h')
-rw-r--r--tools/args.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/tools/args.h b/tools/args.h
index 999d891f7..f0de352cc 100644
--- a/tools/args.h
+++ b/tools/args.h
@@ -512,6 +512,18 @@ arg(pvmetadatacopies_ARG, '\0', "pvmetadatacopies", pvmetadatacopies_VAL, 0, 0,
"This may be useful in VGs containing many PVs (this places limitations\n"
"on the ability to use vgsplit later.)\n")
+arg(raidintegrity_ARG, '\0', "raidintegrity", bool_VAL, 0, 0,
+ "Enable or disable data integrity checksums for raid images.\n")
+
+arg(raidintegritymode_ARG, '\0', "raidintegritymode", string_VAL, 0, 0,
+ "Use a journal (default) or bitmap for keeping integrity checksums consistent\n"
+ "in case of a crash. The bitmap areas are recalculated after a crash, so corruption\n"
+ "in those areas would not be detected. A journal does not have this problem.\n"
+ "The journal mode doubles writes to storage, but can improve performance for\n"
+ "scattered writes packed into a single journal write.\n"
+ "bitmap mode can in theory achieve full write throughput of the device,\n"
+ "but would not benefit from the potential scattered write optimization.\n")
+
arg(readonly_ARG, '\0', "readonly", 0, 0, 0,
"Run the command in a special read-only mode which will read on-disk\n"
"metadata without needing to take any locks. This can be used to peek\n"