All of lore.kernel.org
 help / color / mirror / Atom feed
From: malahal@us.ibm.com
To: Jonathan Brassow <jbrassow@redhat.com>
Cc: device-mapper development <dm-devel@redhat.com>
Subject: Re: BUG in dm/dm-mirror module?
Date: Tue, 14 Aug 2007 08:55:34 -0700	[thread overview]
Message-ID: <20070814155534.GA31052@us.ibm.com> (raw)
In-Reply-To: <B9BBD91E-F103-40DA-85BA-4FBAF0BB0F59@redhat.com>

Jonathan Brassow [jbrassow@redhat.com] wrote:
> 
> On Aug 13, 2007, at 11:48 AM, Phillip Susi wrote:
> 
> >
> >This is a problem with any mirror, not just one holding a mirror log.
> 
> It is a special problem with the mirror log.
> 
> Mirrors will recover themselves and become consistent upon a reboot.   
> In the case of a mirror that holds a file system, if you lost some of  
> your most recent writes, journaling/fsck will take care of it.  In  

I believe the mirror code handles errors at region level. So one region
could be out of sync while the other regions are updated with the latest
data if the disk failure(s) are transient. I don't think the disk with
few 'out-of-sync' regions can be assumed to have consistent data.

In any case, we need a better method to select the master mirror device.
Does LVM have an extra sector or so to give it to the kernel module?

Thanks, Malahal.

  parent reply	other threads:[~2007-08-14 15:55 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-08-11  1:08 BUG in dm/dm-mirror module? malahal
2007-08-11  8:52 ` Milan Broz
2007-08-13 15:18   ` Jonathan Brassow
2007-08-13 16:48     ` Phillip Susi
2007-08-13 20:18       ` Jonathan Brassow
2007-08-13 21:21         ` Phillip Susi
2007-08-14 15:55         ` malahal [this message]
2007-08-13 18:24     ` malahal

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=20070814155534.GA31052@us.ibm.com \
    --to=malahal@us.ibm.com \
    --cc=dm-devel@redhat.com \
    --cc=jbrassow@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.