]> sourceware.org Git - lvm2.git/commit
dmeventd: (workaround) fix mirror DSO to work with lvmetad
authorHeinz Mauelshagen <heinzm@redhat.com>
Thu, 9 Mar 2017 19:41:07 +0000 (20:41 +0100)
committerHeinz Mauelshagen <heinzm@redhat.com>
Thu, 9 Mar 2017 19:41:07 +0000 (20:41 +0100)
commit76f6951c3e8f0933df9730a42e9c46f273d1da24
tree3210ebbc793fc398375a1e89adba60e47e9c52ca
parent67ddc0c29289c454fbe6203473790bbcd12e3619
dmeventd: (workaround) fix mirror DSO to work with lvmetad

Automatic dmeventd repair of mirrors with active lvmetad configured
(mirror_image_fault_policy = "allocate") fails because the lvscan
run before the repair in the mirror DSO does not update the
lvmetad cache properly thus "lvconvert --repair ..." fails.

Need to scan the mirror LV before and after the repair
to have proper cache content after the repair finished.
The cache can't be relied on or the repair will fail.

Resolves: rhbz1380521
daemons/dmeventd/plugins/mirror/dmeventd_mirror.c
This page took 0.03404 seconds and 5 git commands to generate.