public inbox for lvm2-cvs@sourceware.org
help / color / mirror / Atom feed
* LVM2 ./WHATS_NEW lib/activate/activate.c lib/f ...
@ 2011-06-17 14:31 zkabelac
  0 siblings, 0 replies; 3+ messages in thread
From: zkabelac @ 2011-06-17 14:31 UTC (permalink / raw)
  To: lvm-devel, lvm2-cvs

CVSROOT:	/cvs/lvm2
Module name:	LVM2
Changes by:	zkabelac@sourceware.org	2011-06-17 14:30:58

Modified files:
	.              : WHATS_NEW 
	lib/activate   : activate.c 
	lib/format_text: flags.c 
	lib/metadata   : metadata-exported.h metadata.h 

Log message:
	Remove unused internal flag ACTIVATE_EXCL from the code

Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/LVM2/WHATS_NEW.diff?cvsroot=lvm2&r1=1.2020&r2=1.2021
http://sourceware.org/cgi-bin/cvsweb.cgi/LVM2/lib/activate/activate.c.diff?cvsroot=lvm2&r1=1.201&r2=1.202
http://sourceware.org/cgi-bin/cvsweb.cgi/LVM2/lib/format_text/flags.c.diff?cvsroot=lvm2&r1=1.44&r2=1.45
http://sourceware.org/cgi-bin/cvsweb.cgi/LVM2/lib/metadata/metadata-exported.h.diff?cvsroot=lvm2&r1=1.193&r2=1.194
http://sourceware.org/cgi-bin/cvsweb.cgi/LVM2/lib/metadata/metadata.h.diff?cvsroot=lvm2&r1=1.245&r2=1.246

--- LVM2/WHATS_NEW	2011/06/17 14:27:34	1.2020
+++ LVM2/WHATS_NEW	2011/06/17 14:30:58	1.2021
@@ -1,5 +1,6 @@
 Version 2.02.86 -  
 =================================
+  Remove unused internal flag ACTIVATE_EXCL from the code.
   Remove useless test of ACTIVATE_EXCL in lv_add_mirrors() clustered code path.
   Use lv_activate_opts struct instead of MERGING status flag.
   Use lv_activate_opts struct instead of ACTIVATE_EXCL status flag.
--- LVM2/lib/activate/activate.c	2011/06/17 14:24:18	1.201
+++ LVM2/lib/activate/activate.c	2011/06/17 14:30:58	1.202
@@ -1293,14 +1293,6 @@
 		goto out;
 	}
 
-	/*
-	 * When targets are activated exclusively in a cluster, the
-	 * non-clustered target should be used.  This only happens
-	 * if ACTIVATE_EXCL is set in lv->status.
-	 */
-	if (laopts->exclusive)
-		lv->status |= ACTIVATE_EXCL;
-
 	if (!_lv_activate_lv(lv, laopts))
 		goto_out;
 
--- LVM2/lib/format_text/flags.c	2011/03/29 12:51:57	1.44
+++ LVM2/lib/format_text/flags.c	2011/06/17 14:30:58	1.45
@@ -62,7 +62,6 @@
 	{VIRTUAL, NULL, 0},
 	{SNAPSHOT, NULL, 0},
 	{MERGING, NULL, 0},
-	{ACTIVATE_EXCL, NULL, 0},
 	{CONVERTING, NULL, 0},
 	{PARTIAL_LV, NULL, 0},
 	{POSTORDER_FLAG, NULL, 0},
--- LVM2/lib/metadata/metadata-exported.h	2011/06/11 00:03:07	1.193
+++ LVM2/lib/metadata/metadata-exported.h	2011/06/17 14:30:58	1.194
@@ -62,7 +62,6 @@
 #define MIRROR_LOG		0x00020000U	/* LV */
 #define MIRROR_IMAGE		0x00040000U	/* LV */
 #define LV_NOTSYNCED		0x00080000U	/* LV */
-//#define ACTIVATE_EXCL		0x00100000U	/* LV - internal use only */
 //#define PRECOMMITTED		0x00200000U	/* VG - internal use only */
 #define CONVERTING		0x00400000U	/* LV */
 
--- LVM2/lib/metadata/metadata.h	2011/06/15 17:45:03	1.245
+++ LVM2/lib/metadata/metadata.h	2011/06/17 14:30:58	1.246
@@ -71,7 +71,6 @@
 //#define MIRROR_LOG		0x00020000U	/* LV */
 //#define MIRROR_IMAGE		0x00040000U	/* LV */
 //#define MIRROR_NOTSYNCED	0x00080000U	/* LV */
-#define ACTIVATE_EXCL		0x00100000U	/* LV - internal use only */
 #define PRECOMMITTED		0x00200000U	/* VG - internal use only */
 //#define CONVERTING		0x00400000U	/* LV */
 


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

* LVM2 ./WHATS_NEW lib/activate/activate.c lib/f ...
@ 2005-10-31 20:15 agk
  0 siblings, 0 replies; 3+ messages in thread
From: agk @ 2005-10-31 20:15 UTC (permalink / raw)
  To: lvm2-cvs

CVSROOT:	/cvs/lvm2
Module name:	LVM2
Changes by:	agk@sourceware.org	2005-10-31 20:15:28

Modified files:
	.              : WHATS_NEW 
	lib/activate   : activate.c 
	lib/format_text: format-text.c 
	lib/metadata   : metadata.c metadata.h 

Log message:
	Clear up precommitted metadata better on disk after use.
	
	[Some activation-related features will stop working for a while now.
	Some types of activation are getting split into two steps, with the
	first step using the precommitted metadata.]

Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/LVM2/WHATS_NEW.diff?cvsroot=lvm2&r1=1.318&r2=1.319
http://sourceware.org/cgi-bin/cvsweb.cgi/LVM2/lib/activate/activate.c.diff?cvsroot=lvm2&r1=1.96&r2=1.97
http://sourceware.org/cgi-bin/cvsweb.cgi/LVM2/lib/format_text/format-text.c.diff?cvsroot=lvm2&r1=1.47&r2=1.48
http://sourceware.org/cgi-bin/cvsweb.cgi/LVM2/lib/metadata/metadata.c.diff?cvsroot=lvm2&r1=1.85&r2=1.86
http://sourceware.org/cgi-bin/cvsweb.cgi/LVM2/lib/metadata/metadata.h.diff?cvsroot=lvm2&r1=1.135&r2=1.136


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

* LVM2 ./WHATS_NEW lib/activate/activate.c lib/f ...
@ 2005-06-03 14:49 agk
  0 siblings, 0 replies; 3+ messages in thread
From: agk @ 2005-06-03 14:49 UTC (permalink / raw)
  To: lvm2-cvs

CVSROOT:	/cvs/lvm2
Module name:	LVM2
Changes by:	agk@sourceware.org	2005-06-03 14:49:51

Modified files:
	.              : WHATS_NEW 
	lib/activate   : activate.c 
	lib/format_text: flags.c import_vsn1.c text_import.h 
	lib/metadata   : lv_alloc.h lv_manip.c metadata.h mirror.c 
	                 snapshot_manip.c 
	lib/mirror     : mirrored.c 
	lib/report     : columns.h report.c 
	lib/striped    : striped.c 
	tools          : commands.h lvchange.c lvcreate.c lvdisplay.c 
	                 lvremove.c lvrename.c pvmove.c reporter.c 
	                 toollib.c toollib.h 

Log message:
	Always insert an intermediate layer for mirrors.
	Suppress hidden LVs from reports unless --all is given.
	Use square brackets for hidden LVs in reports.
	Centralise restrictions on LV names.

Patches:
http://sources.redhat.com/cgi-bin/cvsweb.cgi/LVM2/WHATS_NEW.diff?cvsroot=lvm2&r1=1.248&r2=1.249
http://sources.redhat.com/cgi-bin/cvsweb.cgi/LVM2/lib/activate/activate.c.diff?cvsroot=lvm2&r1=1.90&r2=1.91
http://sources.redhat.com/cgi-bin/cvsweb.cgi/LVM2/lib/format_text/flags.c.diff?cvsroot=lvm2&r1=1.25&r2=1.26
http://sources.redhat.com/cgi-bin/cvsweb.cgi/LVM2/lib/format_text/import_vsn1.c.diff?cvsroot=lvm2&r1=1.26&r2=1.27
http://sources.redhat.com/cgi-bin/cvsweb.cgi/LVM2/lib/format_text/text_import.h.diff?cvsroot=lvm2&r1=1.1&r2=1.2
http://sources.redhat.com/cgi-bin/cvsweb.cgi/LVM2/lib/metadata/lv_alloc.h.diff?cvsroot=lvm2&r1=1.9&r2=1.10
http://sources.redhat.com/cgi-bin/cvsweb.cgi/LVM2/lib/metadata/lv_manip.c.diff?cvsroot=lvm2&r1=1.74&r2=1.75
http://sources.redhat.com/cgi-bin/cvsweb.cgi/LVM2/lib/metadata/metadata.h.diff?cvsroot=lvm2&r1=1.121&r2=1.122
http://sources.redhat.com/cgi-bin/cvsweb.cgi/LVM2/lib/metadata/mirror.c.diff?cvsroot=lvm2&r1=1.14&r2=1.15
http://sources.redhat.com/cgi-bin/cvsweb.cgi/LVM2/lib/metadata/snapshot_manip.c.diff?cvsroot=lvm2&r1=1.21&r2=1.22
http://sources.redhat.com/cgi-bin/cvsweb.cgi/LVM2/lib/mirror/mirrored.c.diff?cvsroot=lvm2&r1=1.8&r2=1.9
http://sources.redhat.com/cgi-bin/cvsweb.cgi/LVM2/lib/report/columns.h.diff?cvsroot=lvm2&r1=1.12&r2=1.13
http://sources.redhat.com/cgi-bin/cvsweb.cgi/LVM2/lib/report/report.c.diff?cvsroot=lvm2&r1=1.32&r2=1.33
http://sources.redhat.com/cgi-bin/cvsweb.cgi/LVM2/lib/striped/striped.c.diff?cvsroot=lvm2&r1=1.6&r2=1.7
http://sources.redhat.com/cgi-bin/cvsweb.cgi/LVM2/tools/commands.h.diff?cvsroot=lvm2&r1=1.70&r2=1.71
http://sources.redhat.com/cgi-bin/cvsweb.cgi/LVM2/tools/lvchange.c.diff?cvsroot=lvm2&r1=1.62&r2=1.63
http://sources.redhat.com/cgi-bin/cvsweb.cgi/LVM2/tools/lvcreate.c.diff?cvsroot=lvm2&r1=1.94&r2=1.95
http://sources.redhat.com/cgi-bin/cvsweb.cgi/LVM2/tools/lvdisplay.c.diff?cvsroot=lvm2&r1=1.15&r2=1.16
http://sources.redhat.com/cgi-bin/cvsweb.cgi/LVM2/tools/lvremove.c.diff?cvsroot=lvm2&r1=1.42&r2=1.43
http://sources.redhat.com/cgi-bin/cvsweb.cgi/LVM2/tools/lvrename.c.diff?cvsroot=lvm2&r1=1.32&r2=1.33
http://sources.redhat.com/cgi-bin/cvsweb.cgi/LVM2/tools/pvmove.c.diff?cvsroot=lvm2&r1=1.23&r2=1.24
http://sources.redhat.com/cgi-bin/cvsweb.cgi/LVM2/tools/reporter.c.diff?cvsroot=lvm2&r1=1.6&r2=1.7
http://sources.redhat.com/cgi-bin/cvsweb.cgi/LVM2/tools/toollib.c.diff?cvsroot=lvm2&r1=1.68&r2=1.69
http://sources.redhat.com/cgi-bin/cvsweb.cgi/LVM2/tools/toollib.h.diff?cvsroot=lvm2&r1=1.33&r2=1.34


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

end of thread, other threads:[~2011-06-17 14:31 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-06-17 14:31 LVM2 ./WHATS_NEW lib/activate/activate.c lib/f zkabelac
  -- strict thread matches above, loose matches on Subject: below --
2005-10-31 20:15 agk
2005-06-03 14:49 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).