1
0
mirror of git://sourceware.org/git/lvm2.git synced 2024-12-21 13:34:40 +03:00

lvconvert: repair accepts interval and background

For mirror and raid we expose --interval and --background on
command line (instead of using just always using compiled-in defaults).
This commit is contained in:
Zdenek Kabelac 2016-10-17 11:16:16 +02:00
parent f8b3b0bc9a
commit 59b29716e5
3 changed files with 8 additions and 0 deletions

View File

@ -1,5 +1,6 @@
Version 2.02.168 -
====================================
lvconvert --repair accepts --interval and --background option.
More efficiently prepare _rmeta devices when creating a new raid LV.
Version 2.02.167 - 5th November 2016

View File

@ -365,6 +365,9 @@ See corresponding operation --splitmirrors.
VG/RaidLV
.br
\[bu]
Options \-\-background, \-\-interval.
.br
\[bu]
Replace failed PVs in RaidLV.
.B lvconvert \-\-replace
@ -502,6 +505,9 @@ Change the type of log used by MirrorLV.
VG/MirrorLV
.br
\[bu]
Options \-\-background, \-\-interval.
.br
\[bu]
Replace failed PVs in MirrorLV.
.B lvconvert \-\-type linear

View File

@ -534,6 +534,7 @@ static int _read_params(struct cmd_context *cmd, int argc, char **argv,
if (arg_outside_list_is_set(cmd, "cannot be used with --repair",
repair_ARG,
alloc_ARG, usepolicies_ARG,
background_ARG, interval_ARG,
force_ARG, noudevsync_ARG, test_ARG,
-1))
return_0;