[lvm-devel] LVM2 ./WHATS_NEW tools/lvconvert.c

agk at sourceware.org agk at sourceware.org
Tue Feb 12 13:29:09 UTC 2008


CVSROOT:	/cvs/lvm2
Module name:	LVM2
Changes by:	agk at sourceware.org	2008-02-12 13:29:08

Modified files:
	.              : WHATS_NEW 
	tools          : lvconvert.c 

Log message:
	Fix lvconvert detection of mirror conversion in progress.

Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/LVM2/WHATS_NEW.diff?cvsroot=lvm2&r1=1.792&r2=1.793
http://sourceware.org/cgi-bin/cvsweb.cgi/LVM2/tools/lvconvert.c.diff?cvsroot=lvm2&r1=1.60&r2=1.61

--- LVM2/WHATS_NEW	2008/02/12 13:26:53	1.792
+++ LVM2/WHATS_NEW	2008/02/12 13:29:08	1.793
@@ -1,5 +1,6 @@
 Version 2.02.34 -
 ===================================
+  Fix lvconvert detection of mirror conversion in progress. (2.02.30)
   Avoid automatic lvconvert polldaemon invocation when -R specified. (2.02.30)
   Fix 'pvs -a' to detect VGs of PVs without metadata areas.
   Divide up internal orphan volume group by format type.
--- LVM2/tools/lvconvert.c	2008/02/12 13:26:53	1.60
+++ LVM2/tools/lvconvert.c	2008/02/12 13:29:08	1.61
@@ -526,6 +526,8 @@
 			log_error("Logical volume %s already has %"
 				  PRIu32 " mirror(s).", lv->name,
 				  lp->mirrors - 1);
+			if (lv->status & CONVERTING)
+				lp->need_polling = 1;
 			return 1;
 		}
 	} else if (lp->mirrors > existing_mirrors) {




More information about the lvm-devel mailing list