mirror of
git://sourceware.org/git/lvm2.git
synced 2024-12-21 13:34:40 +03:00
cleanup: typos
This commit is contained in:
parent
96123b9059
commit
f35fa8c178
@ -147,7 +147,7 @@ Version 2.03.12 - 07th May 2021
|
||||
Fix IMSM MD RAID detection on 4k devices.
|
||||
Check for presence of VDO target before starting any conversion.
|
||||
Support metatadata profiles with volume VDO pool conversions.
|
||||
Support -Zn for conversion of already formated VDO pools.
|
||||
Support -Zn for conversion of already formatted VDO pools.
|
||||
Avoid removing LVs on error path of lvconvert during creation volumes.
|
||||
Fix crashing lvdisplay when thin volume was waiting for merge.
|
||||
Support option --errorwhenfull when converting volume to thin-pool.
|
||||
|
2
configure
vendored
2
configure
vendored
@ -10858,7 +10858,7 @@ printf "%s\n" "#define VDO_FORMAT_CMD \"$VDO_FORMAT_CMD\"" >>confdefs.h
|
||||
|
||||
#
|
||||
# Do we need to use the API??
|
||||
# Do we want to link lvm2 with a big library for vdoformating ?
|
||||
# Do we want to link lvm2 with a big library for vdoformatting ?
|
||||
#
|
||||
#AC_ARG_WITH(vdo-include,
|
||||
# AS_HELP_STRING([--with-vdo-include=PATH],
|
||||
|
@ -625,7 +625,7 @@ AC_DEFINE_UNQUOTED([VDO_FORMAT_CMD], ["$VDO_FORMAT_CMD"],
|
||||
[The path to 'vdoformat', if available.])
|
||||
#
|
||||
# Do we need to use the API??
|
||||
# Do we want to link lvm2 with a big library for vdoformating ?
|
||||
# Do we want to link lvm2 with a big library for vdoformatting ?
|
||||
#
|
||||
#AC_ARG_WITH(vdo-include,
|
||||
# AS_HELP_STRING([--with-vdo-include=PATH],
|
||||
|
@ -250,7 +250,7 @@ static int _format_vdo_pool_data_lv(struct logical_volume *data_lv,
|
||||
FILE *f;
|
||||
uint64_t lb;
|
||||
unsigned slabbits;
|
||||
unsigned reformating = 0;
|
||||
unsigned reformatting = 0;
|
||||
int args = 1;
|
||||
char buf_args[5][128];
|
||||
char buf[256]; /* buffer for short disk header (64B) */
|
||||
@ -345,7 +345,7 @@ static int _format_vdo_pool_data_lv(struct logical_volume *data_lv,
|
||||
if ((c = strchr(buf, '\n')))
|
||||
*c = 0; /* cut last '\n' away */
|
||||
if (buf[0]) {
|
||||
if (reformating)
|
||||
if (reformatting)
|
||||
log_verbose(" %s", buf); /* Print vdo_format messages */
|
||||
else
|
||||
log_print_unless_silent(" %s", buf); /* Print vdo_format messages */
|
||||
@ -424,14 +424,14 @@ struct logical_volume *convert_vdo_pool_lv(struct logical_volume *data_lv,
|
||||
return NULL;
|
||||
}
|
||||
} else {
|
||||
log_verbose("Skiping VDO formatting %s.", display_lvname(data_lv));
|
||||
log_verbose("Skipping VDO formatting %s.", display_lvname(data_lv));
|
||||
/* TODO: parse existing VDO data and retrieve vdo_logical_size */
|
||||
if (!*virtual_extents)
|
||||
vdo_logical_size = data_lv->size;
|
||||
}
|
||||
|
||||
if (!deactivate_lv(data_lv->vg->cmd, data_lv)) {
|
||||
log_error("Cannot deactivate formated VDO pool volume %s.",
|
||||
log_error("Cannot deactivate formatted VDO pool volume %s.",
|
||||
display_lvname(data_lv));
|
||||
return NULL;
|
||||
}
|
||||
|
@ -7,19 +7,19 @@ The LV name is chosen by lvcreate.
|
||||
.br
|
||||
.B lvcreate -i 3 -I 8 -L 100m vg00
|
||||
.P
|
||||
Create a raid1 LV with two images, and a useable size of 500 MiB. This
|
||||
Create a raid1 LV with two images, and a usable size of 500 MiB. This
|
||||
operation requires two devices, one for each mirror image. RAID metadata
|
||||
(superblock and bitmap) is also included on the two devices.
|
||||
.br
|
||||
.B lvcreate --type raid1 -m1 -L 500m -n mylv vg00
|
||||
.P
|
||||
Create a mirror LV with two images, and a useable size of 500 MiB.
|
||||
Create a mirror LV with two images, and a usable size of 500 MiB.
|
||||
This operation requires three devices: two for mirror images and
|
||||
one for a disk log.
|
||||
.br
|
||||
.B lvcreate --type mirror -m1 -L 500m -n mylv vg00
|
||||
.P
|
||||
Create a mirror LV with 2 images, and a useable size of 500 MiB.
|
||||
Create a mirror LV with 2 images, and a usable size of 500 MiB.
|
||||
This operation requires 2 devices because the log is in memory.
|
||||
.br
|
||||
.B lvcreate --type mirror -m1 --mirrorlog core -L 500m -n mylv vg00
|
||||
|
Loading…
Reference in New Issue
Block a user