mirror of
git://sourceware.org/git/lvm2.git
synced 2024-12-21 13:34:40 +03:00
snapshot: local activation for clear COW device
To clear snapshot cow device in cluster enforce local activation here.
This commit is contained in:
parent
b5dfe4bec2
commit
7b4b97b731
@ -1,5 +1,6 @@
|
||||
Version 2.02.99 -
|
||||
===================================
|
||||
Use local activation for clearing snapshot COW device.
|
||||
Add lvm2-activation-net systemd unit to activate LVs on net-attached storage.
|
||||
Release memory allocated with _cached_info().
|
||||
Add whole log_lv and metadata_lv sub volumes when creating partial tree.
|
||||
|
@ -5750,7 +5750,7 @@ static struct logical_volume *_lv_create_an_lv(struct volume_group *vg, struct l
|
||||
}
|
||||
}
|
||||
} else if (lp->snapshot) {
|
||||
if (!activate_lv_excl(cmd, lv)) {
|
||||
if (!activate_lv_local(cmd, lv)) {
|
||||
log_error("Aborting. Failed to activate snapshot "
|
||||
"exception store.");
|
||||
goto revert_new_lv;
|
||||
|
Loading…
Reference in New Issue
Block a user