summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZdenek Kabelac <zkabelac@redhat.com>2018-06-29 11:31:08 +0200
committerZdenek Kabelac <zkabelac@redhat.com>2018-07-09 15:28:35 +0200
commit96e9929f2f2d23d2113920efd67431d0272aba5f (patch)
treeeda2fe1c7303f552134fe0ccfefcb4a2030bd77f
parenta821b88a439dd2d0f22e5bb1c4d6671ab517198b (diff)
downloadlvm2-96e9929f2f2d23d2113920efd67431d0272aba5f.tar.gz
args: new options for vdo segment
Introduce new options usable with commands supporting VDO: --compression, --deduplication, --vdo, --vdopool
-rw-r--r--tools/args.h17
1 files changed, 17 insertions, 0 deletions
diff --git a/tools/args.h b/tools/args.h
index e574bc73c..0d4d3bc87 100644
--- a/tools/args.h
+++ b/tools/args.h
@@ -125,6 +125,10 @@ arg(commandprofile_ARG, '\0', "commandprofile", string_VAL, 0, 0,
"The command profile to use for command configuration.\n"
"See \\fBlvm.conf\\fP(5) for more information about profiles.\n")
+arg(compression_ARG, '\0', "compression", bool_VAL, 0, 0,
+ "Controls whether compression is enabled or disable for VDO volume.\n"
+ "See \\fBlvmvdo\\fP(7) for more information about VDO usage.\n")
+
arg(config_ARG, '\0', "config", string_VAL, 0, 0,
"Config settings for the command. These override lvm.conf settings.\n"
"The String arg uses the same format as lvm.conf,\n"
@@ -178,6 +182,10 @@ arg(dataalignment_ARG, '\0', "dataalignment", sizekb_VAL, 0, 0,
arg(dataalignmentoffset_ARG, '\0', "dataalignmentoffset", sizekb_VAL, 0, 0,
"Shift the start of the data area by this additional offset.\n")
+arg(deduplication_ARG, '\0', "deduplication", bool_VAL, 0, 0,
+ "Controls whether deduplication is enabled or disable for VDO volume.\n"
+ "See \\fBlvmvdo\\fP(7) for more information about VDO usage.\n")
+
arg(deltag_ARG, '\0', "deltag", tag_VAL, ARG_GROUPABLE, 0,
"Deletes a tag from a PV, VG or LV. This option can be repeated to delete\n"
"multiple tags at once. See \\fBlvm\\fP(8) for information about tags.\n")
@@ -757,6 +765,15 @@ arg(validate_ARG, '\0', "validate", 0, 0, 0,
"merged configuration tree, also use --mergedconfig.\n"
"The validation is done even if lvm.conf config/checks is disabled.\n")
+arg(vdo_ARG, '\0', "vdo", 0, 0, 0,
+ "Specifies the command is handling VDO LV.\n"
+ "See --type vdo.\n"
+ "See \\fBlvmvdo\\fP(7) for more information about VDO usage.\n")
+
+arg(vdopool_ARG, '\0', "vdopool", lv_VAL, 0, 0,
+ "The name of a VDO pool LV.\n"
+ "See \\fBlvmvdo\\fP(7) for more information about VDO usage.\n")
+
arg(version_ARG, '\0', "version", 0, 0, 0,
"Display version information.\n")