From c81a322337975b568e3fe2abd924340e13b3ef58 Mon Sep 17 00:00:00 2001 From: Milan Broz Date: Wed, 14 Sep 2011 14:20:16 +0000 Subject: [PATCH] Activate virtual snapshot origin exclusively (only on local node in cluster). --- WHATS_NEW | 1 + lib/metadata/lv_manip.c | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/WHATS_NEW b/WHATS_NEW index 7f588641b..8a304dc5c 100644 --- a/WHATS_NEW +++ b/WHATS_NEW @@ -1,5 +1,6 @@ Version 2.02.89 - ================================== + Activate virtual snapshot origin exclusively (only on local node in cluster). Fix lv_mirror_count to handle mirrored stripes properly. Fix failure to down-convert a mirror to linear due to udev "dev open" conflict Fix mirrored log creation when PE size is small - force log_size >= region_size diff --git a/lib/metadata/lv_manip.c b/lib/metadata/lv_manip.c index 64aebcfa6..192cfd7f7 100644 --- a/lib/metadata/lv_manip.c +++ b/lib/metadata/lv_manip.c @@ -4154,7 +4154,7 @@ static struct logical_volume *_lv_create_an_lv(struct volume_group *vg, struct l (!(org = _create_virtual_origin(cmd, vg, lv->name, lp->permission, lp->voriginextents)) || - !activate_lv(cmd, org))) { + !activate_lv_excl(cmd, org))) { log_error("Couldn't create virtual origin for LV %s", lv->name); if (org && !lv_remove(org))