diff options
author | David Teigland <teigland@redhat.com> | 2017-03-03 10:53:18 -0600 |
---|---|---|
committer | David Teigland <teigland@redhat.com> | 2017-03-03 10:53:18 -0600 |
commit | 2a5e24580abbb103cddc4ec24fe9423e11be5e64 (patch) | |
tree | 45f1e77263288b2b510ca241a2c9b9e82229ff13 | |
parent | 191a2517beb85fcb041ecb92fad3b45a8d008b0e (diff) | |
download | lvm2-2a5e24580abbb103cddc4ec24fe9423e11be5e64.tar.gz |
args: in cachemode option fix passthrough value
-rw-r--r-- | tools/args.h | 4 | ||||
-rw-r--r-- | tools/vals.h | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/tools/args.h b/tools/args.h index 53ff870da..83700b33c 100644 --- a/tools/args.h +++ b/tools/args.h @@ -109,10 +109,10 @@ arg(cachemode_ARG, '\0', "cachemode", cachemode_VAL, 0, 0, "been stored in both the cache pool and on the origin LV.\n" "While writethrough may be slower for writes, it is more\n" "resilient if something should happen to a device associated with the\n" - "cache pool LV. With writethrough, all reads are served\n" + "cache pool LV. With \\fBpassthrough\\fP, all reads are served\n" "from the origin LV (all reads miss the cache) and all writes are\n" "forwarded to the origin LV; additionally, write hits cause cache\n" - "block invalidates. See lvmcache(7) for more information.\n") + "block invalidates. See \\fBlvmcache\\fP(7) for more information.\n") arg(cachepool_ARG, '\0', "cachepool", lv_VAL, 0, 0, "The name of a cache pool LV.\n") diff --git a/tools/vals.h b/tools/vals.h index ab1b715f0..b94674225 100644 --- a/tools/vals.h +++ b/tools/vals.h @@ -112,7 +112,7 @@ val(tag_VAL, tag_arg, "Tag", NULL) val(select_VAL, NULL, "Select", NULL) /* used only for command defs */ val(activationmode_VAL, string_arg, "ActivationMode", "partial|degraded|complete") val(activation_VAL, activation_arg, "Active", "y|n|ay") -val(cachemode_VAL, cachemode_arg, "CacheMode", "writethrough|writeback") +val(cachemode_VAL, cachemode_arg, "CacheMode", "writethrough|writeback|passthrough") val(discards_VAL, discards_arg, "Discards", "passdown|nopassdown|ignore") val(mirrorlog_VAL, mirrorlog_arg, "MirrorLog", "core|disk") val(sizekb_VAL, size_kb_arg, "SizeKB", "Size[k|UNIT]") |