mirror of
git://sourceware.org/git/lvm2.git
synced 2024-12-22 17:35:59 +03:00
cbd41292a4
all but one mirror leg. <patch header> To handle a double failure of a mirrored log, Jon's two patches are commited, however, lvconvert command can't still handle an error when mirror leg and mirrored log got failure at the same time. [Patch]: Handle both devices of a mirrored log failing (bug 607347) posted: https://www.redhat.com/archives/lvm-devel/2010-July/msg00009.html commit: https://www.redhat.com/archives/lvm-devel/2010-July/msg00027.html [Patch]: Handle both devices of a mirrored log failing (bug 607347) - additional fix posted: https://www.redhat.com/archives/lvm-devel/2010-July/msg00093.html commit: https://www.redhat.com/archives/lvm-devel/2010-July/msg00101.html In the second patch, the target type of mirrored log is replaced with error target when remove_log is set to 1, but this procedure should be also used in other cases such as the number of mirror leg is 1. This patch relocates the procedure to the main path. In addition, I added following three changes. - Removed tmp_orphan_lvs handling procedure It seems that _delete_lv() can handle detached_log_lv properly without adding mirror legs in mirrored log to tmp_orphan_lvs. Therefore, I removed the procedure. - Removed vg_write()/vg_commit() Metadata is saved by vg_write()/vg_commit() just after detached_log_lv is handled. Therefore, I removed vg_write()/vg_commit(). - With Jon's second patch, we think that we don't have to call remove_mirror_log() in _lv_update_mirrored_log() because will be handled remove_mirror_images() in _lvconvert_mirrors_repaire(). </patch header> Signed-off-by: Takahiro Yasui <takahiro.yasui@hds.com> Reviewed-by: Petr Rockai <prockai@redhat.com> Signed-off-by: Jonathan Brassow <jbrassow@redhat.com> |
||
---|---|---|
.. | ||
.exported_symbols | ||
args.h | ||
cmdnames.h | ||
commands.h | ||
dmsetup.c | ||
dumpconfig.c | ||
formats.c | ||
lvchange.c | ||
lvconvert.c | ||
lvcreate.c | ||
lvdisplay.c | ||
lvextend.c | ||
lvm2cmd-static.c | ||
lvm2cmd.c | ||
lvm2cmd.h | ||
lvm2cmdline.h | ||
lvm-static.c | ||
lvm.c | ||
lvmchange.c | ||
lvmcmdlib.c | ||
lvmcmdline.c | ||
lvmdiskscan.c | ||
lvreduce.c | ||
lvremove.c | ||
lvrename.c | ||
lvresize.c | ||
lvscan.c | ||
Makefile.in | ||
polldaemon.c | ||
polldaemon.h | ||
pvchange.c | ||
pvck.c | ||
pvcreate.c | ||
pvdisplay.c | ||
pvmove.c | ||
pvremove.c | ||
pvresize.c | ||
pvscan.c | ||
reporter.c | ||
segtypes.c | ||
stub.h | ||
toollib.c | ||
toollib.h | ||
tools.h | ||
vgcfgbackup.c | ||
vgcfgrestore.c | ||
vgchange.c | ||
vgck.c | ||
vgconvert.c | ||
vgcreate.c | ||
vgdisplay.c | ||
vgexport.c | ||
vgextend.c | ||
vgimport.c | ||
vgmerge.c | ||
vgmknodes.c | ||
vgreduce.c | ||
vgremove.c | ||
vgrename.c | ||
vgscan.c | ||
vgsplit.c |