Skip to contentSkip to conversation

dev-dct-process-latest - lvconvert: Further restrictions on cache/pools.

PATCH David Teigland 1 participant 1 message Sep 22, 2014

lore
Share & tools
lore
#0 lore raw
Gitweb:        http://git.fedorahosted.org/git/?p=lvm2.git;a=commitdiff;h=ab2dacf6f6aa18328a848238e45aeaac2ed0d064
Commit:        ab2dacf6f6aa18328a848238e45aeaac2ed0d064
Parent:        a2a869afc8f55409fca0f2079facaf57f2539f24
Author:        Alasdair G Kergon <[email protected]>
AuthorDate:    Wed Sep 17 23:00:41 2014 +0100
Committer:     Alasdair G Kergon <[email protected]>
CommitterDate: Wed Sep 17 23:00:41 2014 +0100

lvconvert: Further restrictions on cache/pools.

Would be better to define what is supported not what isn't, but this'll have to do for now.

---
 lib/metadata/metadata-exported.h |    2 +-
 lib/metadata/metadata.h          |    2 +-
 lib/metadata/snapshot_manip.c    |    2 +-
 tools/lvconvert.c                |   45 ++++++++++++++++++++++++++++++++++++++
 4 files changed, 48 insertions(+), 3 deletions(-)
lib/metadata/metadata-exported.h +1 -1
index 0a307ab..9dac46a 100644
@@ -66,7 +66,7 @@
 #define PVMOVE			UINT64_C(0x0000000000002000)	/* VG LV SEG */
 #define LOCKED			UINT64_C(0x0000000000004000)	/* LV */
 #define MIRRORED		UINT64_C(0x0000000000008000)	/* LV - internal use only */
-//#define VIRTUAL		UINT64_C(0x0000000000010000)	/* LV - internal use only */
+#define VIRTUAL			UINT64_C(0x0000000000010000)	/* LV - internal use only */
 #define MIRROR			UINT64_C(0x0002000000000000)    /* LV - Internal use only */
 #define MIRROR_LOG		UINT64_C(0x0000000000020000)	/* LV - Internal use only */
 #define MIRROR_IMAGE		UINT64_C(0x0000000000040000)	/* LV - Internal use only */
lib/metadata/metadata.h +1 -1
index 439f6b7..f847ddb 100644
@@ -55,7 +55,7 @@
 
 #define SPINDOWN_LV          	UINT64_C(0x00000010)	/* LV */
 #define BADBLOCK_ON       	UINT64_C(0x00000020)	/* LV */
-#define VIRTUAL			UINT64_C(0x00010000)	/* LV - internal use only */
+//#define VIRTUAL			UINT64_C(0x00010000)	/* LV - internal use only */
 #define PRECOMMITTED		UINT64_C(0x00200000)	/* VG - internal use only */
 #define POSTORDER_FLAG		UINT64_C(0x02000000) /* Not real flags, reserved for  */
 #define POSTORDER_OPEN_FLAG	UINT64_C(0x04000000) /* temporary use inside vg_read_internal. */
lib/metadata/snapshot_manip.c +1 -1
index dfad615..36a685f 100644
@@ -193,7 +193,7 @@ void init_snapshot_merge(struct lv_segment *snap_seg,
 
 	if (seg_is_thin_volume(snap_seg)) {
 		snap_seg->merge_lv = origin;
-		/* Making thin LV inivisible with regular log */
+		/* Making thin LV invisible with regular log */
 		lv_set_hidden(snap_seg->lv);
 		return;
 	}
tools/lvconvert.c +45 -0

101 lines not on this page · raw message