master - man: missed --zero option for thin-pool creation
Gitweb: https://sourceware.org/git/?p=lvm2.git;a=commitdiff;h=e8ea3c9a61b9d3bea50c7e5957660caf45a89dd9 Commit: e8ea3c9a61b9d3bea50c7e5957660caf45a89dd9 Parent: 28f3125aaa1d7843d2ce01d25b172478b0836bba Author: Zdenek Kabelac <[email protected]> AuthorDate: Fri Jan 18 22:38:34 2019 +0100 Committer: Zdenek Kabelac <[email protected]> CommitterDate: Mon Jan 21 12:38:47 2019 +0100
man: missed --zero option for thin-pool creation
During man page rewrite this info got lost and remained only for lvconvert. So restore it back for lvcreate.
--- WHATS_NEW | 1 + man/lvcreate.8_pregen | 1 + tools/args.h | 1 + 3 files changed, 3 insertions(+), 0 deletions(-)
WHATS_NEW +1 -0
@@ -1,5 +1,6 @@ Version 2.03.02 - =================================== + Restore missing man info lvcreate --zero for thin-pools. Drop misleadning comment for metadata minimum_io_size for VDO segment. Add device hints to reduce scanning. Introduce LVM_SUPPRESS_SYSLOG to suppress syslog usage by generator.
man/lvcreate.8_pregen +1 -0
@@ -2715,6 +2715,7 @@ answer yes. Use with extreme caution. Controls zeroing of the first 4KiB of data in the new LV. Default is \fBy\fP. Snapshot COW volumes are always zeroed. +For thin pools, this controls zeroing of provisioned blocks. LV is not zeroed if the read only flag is set. Warning: trying to mount an unzeroed LV can cause the system to hang. .ad b
tools/args.h +1 -0
@@ -1464,6 +1464,7 @@ arg(zero_ARG, 'Z', "zero", bool_VAL, 0, 0,"Controls zeroing of the first 4KiB of data in the new LV.\n" "Default is \\fBy\\fP.\n" "Snapshot COW volumes are always zeroed.\n" +"For thin pools, this controls zeroing of provisioned blocks.\n" "LV is not zeroed if the read only flag is set.\n" "Warning: trying to mount an unzeroed LV can cause the system to hang.\n" "#pvcreate\n"