All of lore.kernel.org
 help / color / mirror / Atom feed
From: Dave Wysochanski <dwysocha@redhat.com>
To: lvm-devel@redhat.com
Subject: [PATCH] Re: [lvm-devel] lvconvert error when converting a linear to a mirror
Date: Tue, 19 May 2009 11:50:53 -0400	[thread overview]
Message-ID: <1242748253.2418.0.camel@f10-node1> (raw)
In-Reply-To: <87k54dbnwr.fsf_-_@mornfall.net>

On Tue, 2009-05-19 at 08:35 +0200, Petr Rockai wrote:
> Hi,
> 
> "Jun'ichi Nomura" <j-nomura@ce.jp.nec.com> writes:
> > And a comment for this comment in the code:
> >
> >>          * FIXME This check used to precede mirror->mirror conversion
> >> 	 * but didn't affect mirror->linear or linear->mirror. I do
> >> 	 * not understand what is its intention, in fact.
> >
> > if the check wasn't done for mirror-to-linear conversion, that's a bug.
> > It seems the bug has been there since the initial version of lvconvert.c. :)
> 
> I am the author of that FIXME comment there. It seems, that Dave's proposal of
> adding a lv->status & MIRRORED check is the right solution here. Thanks both
> for noticing and explaining the issue, at the time I was implementing lvconvert
> --repair, it was not clear to me.
> 

Ack.

Thanks for fixing.  Just checked in a test for to cover multi-segment
linear to mirror conversion.



      parent reply	other threads:[~2009-05-19 15:50 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-05-14 18:56 lvconvert error when converting a linear to a mirror Dave Wysochanski
2009-05-18 10:48 ` Jun'ichi Nomura
2009-05-19  6:35   ` [PATCH] Re: [lvm-devel] " Petr Rockai
2009-05-19  8:01     ` Milan Broz
2009-05-19 15:50     ` Dave Wysochanski [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1242748253.2418.0.camel@f10-node1 \
    --to=dwysocha@redhat.com \
    --cc=lvm-devel@redhat.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.