All of lore.kernel.org
 help / color / mirror / Atom feed
From: Zdenek Kabelac <zkabelac@redhat.com>
To: lvm-devel@redhat.com
Subject: [PATCH - v2] LVM: New flag, LV_REBUILD
Date: Wed, 16 Nov 2011 21:06:28 +0100	[thread overview]
Message-ID: <4EC417C4.8060707@redhat.com> (raw)
In-Reply-To: <1321293985.6418.0.camel@f14.redhat.com>

Dne 14.11.2011 19:06, Jonathan Brassow napsal(a):
> Changes from previous:
> - New rebuild flag is now written to on-disk LVM metadata
> - An additional metadata write/commit is necessary to clear the flag
> after a proper resume
> - flags.c file updated
>
>   brassow
>
> Add new flag, LV_REBUILD.
>
> Until now, I had been using the LV_NOTSYNCED as a flag to indicate that RAID
> sub-LVs needed to be rebuilt.  (The 'rebuild' parameter is then specified in
> the DM CTR table.)  However, I don't want to use a flag that gets written to
> the LVM metadata... and the LV_NOTSYNCED flag's original meaning does not
> suite the purpose adequately.
>
> This patch proposes and uses a new flag, LV_REBUILD.

Hmm so now - when it's written to disk - it looks like  LV_REBUILD and 
LV_NOTSYNCED is mostly the same meaning - except  one is used in raid
and original in mirror ?

So I think it's easier to keep just one flag ?
(Well the bit field space is somewhat limited)

Zdenek



  reply	other threads:[~2011-11-16 20:06 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-11-10 22:26 [PATCH] LVM: New flag, LV_REBUILD Jonathan Brassow
2011-11-11 16:23 ` Zdenek Kabelac
2011-11-12  0:12   ` Jonathan Brassow
2011-11-14 18:06 ` [PATCH - v2] " Jonathan Brassow
2011-11-16 20:06   ` Zdenek Kabelac [this message]
2011-11-18 16:05     ` Jonathan Brassow
2011-11-18 17:11       ` Jonathan Brassow
2011-11-18 17:19         ` Zdenek Kabelac

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=4EC417C4.8060707@redhat.com \
    --to=zkabelac@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.