All of lore.kernel.org
 help / color / mirror / Atom feed
From: Milan Broz <mbroz@redhat.com>
To: lvm-devel@redhat.com
Subject: [PATCH 00/10] Fixes related to mirror repair in clustered environment
Date: Tue,  8 Dec 2009 16:38:43 +0100	[thread overview]
Message-ID: <cover.1260284754.git.mbroz@redhat.com> (raw)

These are patches I created when trying to reproduce fails with
recent mirror repair changes.

Because it touch the core cluster locking parts, I separated it
to several simple patches to review it separately.

Please review and comment it - it is curretnly test blocker for clustering.

(If there is better way how to fix described problems - please let me know,
I am quite desperate after debugging this code ;-)

Milan


Milan Broz (10):
  Remove newly created log volume if initial deactivation fails.
  Get rid of hardcoded 0xffdf cluster lock flag.
  Get rid of magic masks in cluster locking code.
  Get rid of magic masks in cluster locking code - clvmd part.
  Allow implicit "convert" to the same lock mode.
  Allow manipulation with precommited metadata even when a PV is
    missing.
  Call explicitly suspend for temporary mirror layer.
  Allow implicit lock conversion for pre/post callbacks.
  Never ever use distributed lock for LV in non-clustered VG.
  Add memlock information to do_lock_lv debug output.

 daemons/clvmd/clvmd-command.c |   10 ++++----
 daemons/clvmd/lvm-functions.c |   38 +++++++++++++++++++++---------------
 lib/locking/cluster_locking.c |    7 +++--
 lib/locking/locking.h         |    3 ++
 lib/metadata/metadata.c       |    4 +-
 lib/metadata/mirror.c         |   42 +++++++++++++++++++++-------------------
 6 files changed, 58 insertions(+), 46 deletions(-)



             reply	other threads:[~2009-12-08 15:38 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-12-08 15:38 Milan Broz [this message]
2009-12-08 15:38 ` [PATCH 01/10] Remove newly created log volume if initial deactivation fails Milan Broz
2009-12-08 15:39 ` [PATCH 02/10] Get rid of hardcoded 0xffdf cluster lock flag Milan Broz
2009-12-08 15:39 ` [PATCH 03/10] Get rid of magic masks in cluster locking code Milan Broz
2009-12-08 16:38   ` Heinz Mauelshagen
2009-12-08 15:39 ` [PATCH 04/10] Get rid of magic masks in cluster locking code - clvmd part Milan Broz
2009-12-08 15:39 ` [PATCH 05/10] Allow implicit "convert" to the same lock mode Milan Broz
2009-12-08 15:39 ` [PATCH 06/10] Allow manipulation with precommited metadata even when a PV is missing Milan Broz
2009-12-08 15:39 ` [PATCH 07/10] Call explicitly suspend for temporary mirror layer Milan Broz
2009-12-08 15:39 ` [PATCH 08/10] Allow implicit lock conversion for pre/post callbacks Milan Broz
2009-12-08 15:40 ` [PATCH 09/10] Never ever use distributed lock for LV in non-clustered VG Milan Broz
2009-12-08 15:40 ` [PATCH 10/10] Add memlock information to do_lock_lv debug output Milan Broz

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=cover.1260284754.git.mbroz@redhat.com \
    --to=mbroz@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.