public inbox for lvm2-cvs@sourceware.org
help / color / mirror / Atom feed
* LVM2/lib/metadata metadata-exported.h
@ 2012-05-10 10:37 prajnoha
0 siblings, 0 replies; 4+ messages in thread
From: prajnoha @ 2012-05-10 10:37 UTC (permalink / raw)
To: lvm-devel, lvm2-cvs
CVSROOT: /cvs/lvm2
Module name: LVM2
Changes by: prajnoha@sourceware.org 2012-05-10 10:37:49
Modified files:
lib/metadata : metadata-exported.h
Log message:
Comment on auxiliary metadata areas.
Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/LVM2/lib/metadata/metadata-exported.h.diff?cvsroot=lvm2&r1=1.232&r2=1.233
--- LVM2/lib/metadata/metadata-exported.h 2012/02/23 13:11:09 1.232
+++ LVM2/lib/metadata/metadata-exported.h 2012/05/10 10:37:49 1.233
@@ -208,8 +208,11 @@
/* Include any existing PV mdas during format_instance initialisation */
#define FMT_INSTANCE_MDAS 0x00000002U
-/* FIXME Define auxiliary here! */
-/* Include any auxiliary mdas during format_instance intialisation */
+/*
+ * Include any auxiliary mdas during format_instance intialisation.
+ * Currently, this includes metadata areas as defined by
+ * metadata/dirs and metadata/raws setting.
+ */
#define FMT_INSTANCE_AUX_MDAS 0x00000004U
/* Include any other format-specific mdas during format_instance initialisation */
^ permalink raw reply [flat|nested] 4+ messages in thread
* LVM2/lib/metadata metadata-exported.h
@ 2012-05-10 11:03 prajnoha
0 siblings, 0 replies; 4+ messages in thread
From: prajnoha @ 2012-05-10 11:03 UTC (permalink / raw)
To: lvm-devel, lvm2-cvs
CVSROOT: /cvs/lvm2
Module name: LVM2
Changes by: prajnoha@sourceware.org 2012-05-10 11:03:08
Modified files:
lib/metadata : metadata-exported.h
Log message:
More comments on metadata area types.
Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/LVM2/lib/metadata/metadata-exported.h.diff?cvsroot=lvm2&r1=1.233&r2=1.234
--- LVM2/lib/metadata/metadata-exported.h 2012/05/10 10:37:49 1.233
+++ LVM2/lib/metadata/metadata-exported.h 2012/05/10 11:03:07 1.234
@@ -205,7 +205,7 @@
* area information we are working with.
*/
-/* Include any existing PV mdas during format_instance initialisation */
+/* Include any existing PV ("on-disk") mdas during format_instance initialisation. */
#define FMT_INSTANCE_MDAS 0x00000002U
/*
@@ -215,7 +215,10 @@
*/
#define FMT_INSTANCE_AUX_MDAS 0x00000004U
-/* Include any other format-specific mdas during format_instance initialisation */
+/*
+ * Include any other format-specific mdas during format_instance initialisation.
+ * For example metadata areas used during backup/restore/archive handling.
+ */
#define FMT_INSTANCE_PRIVATE_MDAS 0x00000008U
struct format_instance {
^ permalink raw reply [flat|nested] 4+ messages in thread
* LVM2/lib/metadata metadata-exported.h
@ 2011-11-30 2:20 jbrassow
0 siblings, 0 replies; 4+ messages in thread
From: jbrassow @ 2011-11-30 2:20 UTC (permalink / raw)
To: lvm-devel, lvm2-cvs
CVSROOT: /cvs/lvm2
Module name: LVM2
Changes by: jbrassow@sourceware.org 2011-11-30 02:20:14
Modified files:
lib/metadata : metadata-exported.h
Log message:
The LV_REBUILD flag is not internal - bad comments in metadata-exported.h updated
Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/LVM2/lib/metadata/metadata-exported.h.diff?cvsroot=lvm2&r1=1.223&r2=1.224
--- LVM2/lib/metadata/metadata-exported.h 2011/11/30 02:02:11 1.223
+++ LVM2/lib/metadata/metadata-exported.h 2011/11/30 02:20:13 1.224
@@ -63,7 +63,7 @@
#define MIRROR_IMAGE UINT64_C(0x00040000) /* LV */
#define LV_NOTSYNCED UINT64_C(0x00080000) /* LV */
-#define LV_REBUILD UINT64_C(0x00100000) /* LV - internal use only */
+#define LV_REBUILD UINT64_C(0x00100000) /* LV */
//#define PRECOMMITTED UINT64_C(0x00200000) /* VG - internal use only */
#define CONVERTING UINT64_C(0x00400000) /* LV */
^ permalink raw reply [flat|nested] 4+ messages in thread
* LVM2/lib/metadata metadata-exported.h
@ 2010-05-21 12:47 zkabelac
0 siblings, 0 replies; 4+ messages in thread
From: zkabelac @ 2010-05-21 12:47 UTC (permalink / raw)
To: lvm-devel, lvm2-cvs
CVSROOT: /cvs/lvm2
Module name: LVM2
Changes by: zkabelac@sourceware.org 2010-05-21 12:47:47
Modified files:
lib/metadata : metadata-exported.h
Log message:
Replicator: extend volume_group with list of VGs and flag
Add pointer to linked list of opened VGs. List temporarily keeps
the information about needed or locked and opened VGs for replicator target.
Also add cmd_missing_vgs flag information for quick check and
also for possible continuos process_each_lv() usage where we need
to detect whether failure has been caused by missing VG or
some other reason.
Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/LVM2/lib/metadata/metadata-exported.h.diff?cvsroot=lvm2&r1=1.147&r2=1.148
--- LVM2/lib/metadata/metadata-exported.h 2010/05/21 12:36:31 1.147
+++ LVM2/lib/metadata/metadata-exported.h 2010/05/21 12:47:46 1.148
@@ -1,6 +1,6 @@
/*
* Copyright (C) 2001-2004 Sistina Software, Inc. All rights reserved.
- * Copyright (C) 2004-2009 Red Hat, Inc. All rights reserved.
+ * Copyright (C) 2004-2010 Red Hat, Inc. All rights reserved.
*
* This file is part of LVM2.
*
@@ -223,6 +223,8 @@
struct cmd_context *cmd;
struct dm_pool *vgmem;
struct format_instance *fid;
+ struct dm_list *cmd_vgs;/* List of wanted/locked and opened VGs */
+ uint32_t cmd_missing_vgs;/* Flag marks missing VG */
uint32_t seqno; /* Metadata sequence number */
alloc_policy_t alloc;
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2012-05-10 11:03 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-05-10 10:37 LVM2/lib/metadata metadata-exported.h prajnoha
-- strict thread matches above, loose matches on Subject: below --
2012-05-10 11:03 prajnoha
2011-11-30 2:20 jbrassow
2010-05-21 12:47 zkabelac
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).