[lvm-devel] master - pvmove: reinstantiate clustered pvmove

Eric Ren zren at suse.com
Wed Feb 7 10:06:48 UTC 2018


> GDB it a little bit. The problem seems because:
>
> _pvmove_target_present(cmd, 1)
>
>
> will always return 0 - "not found".
>
> During one pvmove command, the _pvmove_target_present() is invoked 
> twice. At first call,
> "segtype->ops->target_present()", i.e _mirrored_target_present() will 
> set "_mirrored_checked = 0".

Ooops, s/"_mirrored_checked = 0"/"_mirrored_checked = 1"

Sorry.

Eric




More information about the lvm-devel mailing list