mirror of
git://sourceware.org/git/lvm2.git
synced 2025-04-01 18:50:41 +03:00
Fix lvconvert to not poll mirror if no conversion in progress.
This commit is contained in:
parent
38ddfe7be5
commit
9242380c2f
@ -1,5 +1,6 @@
|
||||
Version 2.02.48 -
|
||||
===============================
|
||||
Fix lvconvert to not poll mirror if no conversion in progress.
|
||||
Fix memory leaks in toolcontext error path.
|
||||
Re-instate partial activation support in clustered mode. (2.02.40)
|
||||
Allow metadata correction even when PVs are missing.
|
||||
|
@ -523,7 +523,8 @@ static int _lvconvert_mirrors(struct cmd_context *cmd, struct logical_volume *lv
|
||||
if (!arg_count(cmd, mirrors_ARG) && !arg_count(cmd, mirrorlog_ARG) &&
|
||||
!arg_count(cmd, corelog_ARG) && !arg_count(cmd, regionsize_ARG) &&
|
||||
!repair) {
|
||||
lp->need_polling = 1;
|
||||
if (find_temporary_mirror(lv) || (lv->status & CONVERTING))
|
||||
lp->need_polling = 1;
|
||||
return 1;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user