From: Zdenek Kabelac <zdenek.kabelac@gmail.com>
To: lvm-devel@redhat.com
Subject: master - RAID: Make RAID single-machine-exclusive capable in a cluster
Date: Wed, 11 Sep 2013 09:37:33 +0200 [thread overview]
Message-ID: <52301DBD.3080907@gmail.com> (raw)
In-Reply-To: <20130910213404.7EAD36104E@fedorahosted.org>
Dne 10.9.2013 23:34, Jonathan Brassow napsal(a):
> dm_list_iterate_items(lvl, &removal_list) {
> - if (!resume_lv(lv->vg->cmd, lvl->lv)) {
> + if (!activate_lv_excl_local(lv->vg->cmd, lvl->lv)) {
I guess in places like this we should use using plain exclusive or plain local.
It's supposed to be activated according to tags - so it should be possible
to hand over activation to different node in cluster.
For clearing of devices on the other hand we need to use 'local' activation
since we need to access and clear device on the local node ignoring any tags.
Also note - we still have a minor problem with deactivation after clearing,
where we do not have synchronization point (until we switch to monitoring),
so we may occasionally report deactivation retry error message (so for
non-clustered VG) it's better to keep device active if the parent node is
going to be activated (since we have no problems with LV locks - it's not a
big issue)
Zdenek
prev parent reply other threads:[~2013-09-11 7:37 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-09-10 21:34 master - RAID: Make RAID single-machine-exclusive capable in a cluster Jonathan Brassow
2013-09-11 7:37 ` Zdenek Kabelac [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=52301DBD.3080907@gmail.com \
--to=zdenek.kabelac@gmail.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.