public inbox for lvm2-cvs@sourceware.org
help / color / mirror / Atom feed
* LVM2 ./WHATS_NEW lib/locking/locking.h
@ 2005-08-15 13:24 agk
0 siblings, 0 replies; 2+ messages in thread
From: agk @ 2005-08-15 13:24 UTC (permalink / raw)
To: lvm2-cvs
CVSROOT: /cvs/lvm2
Module name: LVM2
Changes by: agk@sourceware.org 2005-08-15 13:24:46
Modified files:
. : WHATS_NEW
lib/locking : locking.h
Log message:
Add clustered VG flag to LV lock requests.
Patches:
http://sources.redhat.com/cgi-bin/cvsweb.cgi/LVM2/WHATS_NEW.diff?cvsroot=lvm2&r1=1.282&r2=1.283
http://sources.redhat.com/cgi-bin/cvsweb.cgi/LVM2/lib/locking/locking.h.diff?cvsroot=lvm2&r1=1.22&r2=1.23
^ permalink raw reply [flat|nested] 2+ messages in thread
* LVM2 ./WHATS_NEW lib/locking/locking.h
@ 2010-05-21 14:29 zkabelac
0 siblings, 0 replies; 2+ messages in thread
From: zkabelac @ 2010-05-21 14:29 UTC (permalink / raw)
To: lvm-devel, lvm2-cvs
CVSROOT: /cvs/lvm2
Module name: LVM2
Changes by: zkabelac@sourceware.org 2010-05-21 14:29:49
Modified files:
. : WHATS_NEW
lib/locking : locking.h
Log message:
Replicator: lock_lv_vol() finds missing VGs
Find and check for all needed VGs before calling lock_vol().
Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/LVM2/WHATS_NEW.diff?cvsroot=lvm2&r1=1.1587&r2=1.1588
http://sourceware.org/cgi-bin/cvsweb.cgi/LVM2/lib/locking/locking.h.diff?cvsroot=lvm2&r1=1.55&r2=1.56
--- LVM2/WHATS_NEW 2010/05/21 14:15:39 1.1587
+++ LVM2/WHATS_NEW 2010/05/21 14:29:49 1.1588
@@ -1,5 +1,6 @@
Version 2.02.67 -
===============================
+ Check for missing VGs before taking lock_lv_vol (for Replicator).
Update process_each_lv_in_vg() to use cmd_vg structure.
Update _process_one_vg() to work with cmd_vg structure.
Add functions for read and release VGs list.
--- LVM2/lib/locking/locking.h 2010/05/19 01:49:08 1.55
+++ LVM2/lib/locking/locking.h 2010/05/21 14:29:49 1.56
@@ -130,7 +130,9 @@
(vg_is_clustered((lv)->vg) ? LCK_CLUSTER_VG : 0)
#define lock_lv_vol(cmd, lv, flags) \
- lock_vol(cmd, (lv)->lvid.s, flags | LCK_LV_CLUSTERED(lv))
+ (find_replicator_vgs((lv)) ? \
+ lock_vol(cmd, (lv)->lvid.s, flags | LCK_LV_CLUSTERED(lv)) : \
+ 0)
#define unlock_vg(cmd, vol) lock_vol(cmd, vol, LCK_VG_UNLOCK)
#define unlock_and_release_vg(cmd, vg, vol) \
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2010-05-21 14:29 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-08-15 13:24 LVM2 ./WHATS_NEW lib/locking/locking.h agk
2010-05-21 14:29 zkabelac
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).