All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] for bz 210511 & 203983
@ 2006-10-13  9:58 Patrick Caulfield
  2006-10-13 13:13 ` Alasdair G Kergon
  0 siblings, 1 reply; 2+ messages in thread
From: Patrick Caulfield @ 2006-10-13  9:58 UTC (permalink / raw)
  To: lvm-devel

It seems that vgsplit was not propogating the CLUSTERED flag onto the new VG.
-- 

patrick

Index: tools/vgsplit.c
===================================================================
RCS file: /cvs/lvm2/LVM2/tools/vgsplit.c,v
retrieving revision 1.19
diff -u -p -r1.19 vgsplit.c
--- tools/vgsplit.c	2 Sep 2006 01:18:17 -0000	1.19
+++ tools/vgsplit.c	13 Oct 2006 09:57:03 -0000
@@ -302,6 +302,9 @@ int vgsplit(struct cmd_context *cmd, int

 	vg_to->status &= ~EXPORTED_VG;

+	if (vg_from->status & CLUSTERED)
+		vg_to->status |= CLUSTERED;
+
 	if (!vg_write(vg_to) || !vg_commit(vg_to))
 		goto error;



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

* Re: [PATCH] for bz 210511 & 203983
  2006-10-13  9:58 [PATCH] for bz 210511 & 203983 Patrick Caulfield
@ 2006-10-13 13:13 ` Alasdair G Kergon
  0 siblings, 0 replies; 2+ messages in thread
From: Alasdair G Kergon @ 2006-10-13 13:13 UTC (permalink / raw)
  To: lvm-devel

On Fri, Oct 13, 2006 at 10:58:54AM +0100, Patrick Caulfield wrote:
> It seems that vgsplit was not propogating the CLUSTERED flag onto the new VG.

Yes; vgsplit has a lot of bugs in it at the moment.
That's not the only flag that isn't propogated correctly.

Alasdair
-- 
agk at redhat.com



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

end of thread, other threads:[~2006-10-13 13:13 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-10-13  9:58 [PATCH] for bz 210511 & 203983 Patrick Caulfield
2006-10-13 13:13 ` Alasdair G Kergon

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.