From: agk@sourceware.org <agk@sourceware.org>
To: lvm-devel@redhat.com
Subject: LVM2 ./WHATS_NEW lib/locking/cluster_locking.c
Date: 14 Apr 2008 19:49:13 -0000 [thread overview]
Message-ID: <20080414194913.15694.qmail@sourceware.org> (raw)
CVSROOT: /cvs/lvm2
Module name: LVM2
Changes by: agk at sourceware.org 2008-04-14 19:49:13
Modified files:
. : WHATS_NEW
lib/locking : cluster_locking.c
Log message:
Don't attempt remote metadata backups of non-clustered VGs. (2.02.29)
Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/LVM2/WHATS_NEW.diff?cvsroot=lvm2&r1=1.848&r2=1.849
http://sourceware.org/cgi-bin/cvsweb.cgi/LVM2/lib/locking/cluster_locking.c.diff?cvsroot=lvm2&r1=1.25&r2=1.26
--- LVM2/WHATS_NEW 2008/04/14 19:24:15 1.848
+++ LVM2/WHATS_NEW 2008/04/14 19:49:12 1.849
@@ -1,5 +1,6 @@
Version 2.02.35 -
=================================
+ Don't attempt remote metadata backups of non-clustered VGs. (2.02.29)
Don't store fid in VG metadata cache to avoid clvmd segfault. (2.02.34)
Update vgsplit tests to verify loosening of active LV restriction.
Update vgsplit to only restrict split with active LVs involved in split.
--- LVM2/lib/locking/cluster_locking.c 2008/01/30 13:59:59 1.25
+++ LVM2/lib/locking/cluster_locking.c 2008/04/14 19:49:12 1.26
@@ -438,8 +438,10 @@
return 0;
}
- /* If we are unlocking a VG, then trigger remote metadata backups */
- if (cluster_cmd == CLVMD_CMD_LOCK_VG && ((flags & LCK_TYPE_MASK) == LCK_UNLOCK)) {
+ /* If we are unlocking a clustered VG, then trigger remote metadata backups */
+ if (cluster_cmd == CLVMD_CMD_LOCK_VG &&
+ ((flags & LCK_TYPE_MASK) == LCK_UNLOCK) &&
+ (flags & LCK_CLUSTER_VG)) {
log_very_verbose("Requesing backup of VG metadata for %s", resource);
_lock_for_cluster(CLVMD_CMD_VG_BACKUP, LCK_CLUSTER_VG, resource);
}
next reply other threads:[~2008-04-14 19:49 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-04-14 19:49 agk [this message]
-- strict thread matches above, loose matches on Subject: below --
2010-04-13 14:36 LVM2 ./WHATS_NEW lib/locking/cluster_locking.c mbroz
2011-02-02 23:39 agk
2011-10-21 15:49 agk
2012-03-26 20:29 mbroz
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=20080414194913.15694.qmail@sourceware.org \
--to=agk@sourceware.org \
--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.