mirror of
git://sourceware.org/git/lvm2.git
synced 2024-12-21 13:34:40 +03:00
pvmove: remove locked flag from error pvmove0
When pvmove0 is finished, it replaces temporarily pvmove0 with error segment, however in this case, pvmove0 remains unremovable in case pvmove --abort is interrupted in this moment - since it's not a pvmove anymore and normal lvremove can't be used to remove LOCKED lv.
This commit is contained in:
parent
45f45c9932
commit
84ff3ae703
@ -1,5 +1,6 @@
|
||||
Version 2.02.107 -
|
||||
==================================
|
||||
Remove LOCKED flag for pvmove replaced with error target.
|
||||
Return invalid command when specifying negative polling interval.
|
||||
|
||||
Version 2.02.106 - 10th April 2014
|
||||
|
@ -873,7 +873,7 @@ int replace_lv_with_error_segment(struct logical_volume *lv)
|
||||
* an error segment, we should also clear any flags
|
||||
* that suggest it is anything other than "error".
|
||||
*/
|
||||
lv->status &= ~(MIRRORED|PVMOVE);
|
||||
lv->status &= ~(MIRRORED|PVMOVE|LOCKED);
|
||||
|
||||
/* FIXME: Should we bug if we find a log_lv attached? */
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user