public inbox for lvm2-cvs@sourceware.org
help / color / mirror / Atom feed
* LVM2 ./WHATS_NEW tools/vgmerge.c
@ 2008-04-23 12:53 wysochanski
  0 siblings, 0 replies; 2+ messages in thread
From: wysochanski @ 2008-04-23 12:53 UTC (permalink / raw)
  To: lvm-devel, lvm2-cvs

CVSROOT:	/cvs/lvm2
Module name:	LVM2
Changes by:	wysochanski@sourceware.org	2008-04-23 12:53:10

Modified files:
	.              : WHATS_NEW 
	tools          : vgmerge.c 

Log message:
	Fix internal snapshot_count when vgmerge with snapshots in source VG.

Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/LVM2/WHATS_NEW.diff?cvsroot=lvm2&r1=1.858&r2=1.859
http://sourceware.org/cgi-bin/cvsweb.cgi/LVM2/tools/vgmerge.c.diff?cvsroot=lvm2&r1=1.47&r2=1.48

--- LVM2/WHATS_NEW	2008/04/23 09:53:49	1.858
+++ LVM2/WHATS_NEW	2008/04/23 12:53:10	1.859
@@ -1,5 +1,6 @@
 Version 2.02.36 - 
 =================================
+  Fix internal snapshot_count when vgmerge with snapshots in source VG.
   Simply clvmd-openais by using non-async saLckResourceLock.
   Check lv_count in vg_validate.
   Fix internal LV counter when a snapshot is removed.
--- LVM2/tools/vgmerge.c	2008/04/10 19:14:26	1.47
+++ LVM2/tools/vgmerge.c	2008/04/23 12:53:10	1.48
@@ -99,6 +99,7 @@
 	}
 
 	vg_to->lv_count += vg_from->lv_count;
+	vg_to->snapshot_count += vg_from->snapshot_count;
 
 	vg_to->extent_count += vg_from->extent_count;
 	vg_to->free_count += vg_from->free_count;


^ permalink raw reply	[flat|nested] 2+ messages in thread

* LVM2 ./WHATS_NEW tools/vgmerge.c
@ 2008-06-06 19:32 agk
  0 siblings, 0 replies; 2+ messages in thread
From: agk @ 2008-06-06 19:32 UTC (permalink / raw)
  To: lvm-devel, lvm2-cvs

CVSROOT:	/cvs/lvm2
Module name:	LVM2
Changes by:	agk@sourceware.org	2008-06-06 19:32:36

Modified files:
	.              : WHATS_NEW 
	tools          : vgmerge.c 

Log message:
	Drop cached metadata for disappearing VG in vgmerge.

Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/LVM2/WHATS_NEW.diff?cvsroot=lvm2&r1=1.889&r2=1.890
http://sourceware.org/cgi-bin/cvsweb.cgi/LVM2/tools/vgmerge.c.diff?cvsroot=lvm2&r1=1.48&r2=1.49

--- LVM2/WHATS_NEW	2008/06/06 19:28:33	1.889
+++ LVM2/WHATS_NEW	2008/06/06 19:32:35	1.890
@@ -1,5 +1,6 @@
 Version 2.02.38 - 
 =================================
+  Drop cached metadata for disappearing VG in vgmerge.
   In script-processing mode, stop if any command fails.
   Warn if command exits with non-zero status code without a prior log_error.
   Check lv_count in vg_validate.
--- LVM2/tools/vgmerge.c	2008/04/23 12:53:10	1.48
+++ LVM2/tools/vgmerge.c	2008/06/06 19:32:35	1.49
@@ -49,6 +49,8 @@
 	if (!archive(vg_from) || !archive(vg_to))
 		goto_bad;
 
+	drop_cached_metadata(vg_from);
+
 	/* Merge volume groups */
 	while (!list_empty(&vg_from->pvs)) {
 		struct list *pvh = vg_from->pvs.n;


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2008-06-06 19:32 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-04-23 12:53 LVM2 ./WHATS_NEW tools/vgmerge.c wysochanski
2008-06-06 19:32 agk

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).