1
0
mirror of git://sourceware.org/git/lvm2.git synced 2024-12-22 17:35:59 +03:00

Thin avoids need of having writable VG for activation

This commit is contained in:
Zdenek Kabelac 2011-11-03 14:41:18 +00:00
parent dc964ab0d3
commit f8aee4460a
2 changed files with 0 additions and 10 deletions

View File

@ -142,10 +142,6 @@ static int lvchange_availability(struct cmd_context *cmd,
"exclusively", lv->name); "exclusively", lv->name);
if (!activate_lv_excl(cmd, lv)) if (!activate_lv_excl(cmd, lv))
return_0; return_0;
/* Drop any left thin messages after activation */
if (lv_is_thin_volume(lv) &&
!detach_pool_messages(first_seg(lv)->pool_lv))
return_0;
} else if (activate == CHANGE_ALY) { } else if (activate == CHANGE_ALY) {
log_verbose("Activating logical volume \"%s\" locally", log_verbose("Activating logical volume \"%s\" locally",
lv->name); lv->name);

View File

@ -157,12 +157,6 @@ static int _activate_lvs_in_vg(struct cmd_context *cmd,
stack; stack;
continue; continue;
} }
/* Drop any left thin messages after activation */
if (lv_is_thin_volume(lv) &&
!detach_pool_messages(first_seg(lv)->pool_lv)) {
stack;
continue;
}
} else if (activate == CHANGE_ALY) { } else if (activate == CHANGE_ALY) {
if (!activate_lv_local(cmd, lv)) { if (!activate_lv_local(cmd, lv)) {
stack; stack;