]> sourceware.org Git - lvm2.git/commit
lvmetad: set disabled flag when duplicate PVs are seen
authorDavid Teigland <teigland@redhat.com>
Fri, 29 Jan 2016 19:31:54 +0000 (13:31 -0600)
committerDavid Teigland <teigland@redhat.com>
Fri, 6 May 2016 13:59:59 +0000 (08:59 -0500)
commit3d2fbfe243550b7801165f393d27e35044c1a56d
treedc2b0b8114f61a5c00a56e7506cd7b74e5f62acd
parent9539ee809827a870c88d02cfb2d0dc1e3eaac0d0
lvmetad: set disabled flag when duplicate PVs are seen

When duplicate PVs are detected, set the disabled
flag so that commands will disable use of lvmetad.

This duplicate detection is done by lvmetad itself
when it's told about a single new PV with a PVID
that matches an existing PV on another device.
(This is different from the case where the command
is scanning all devices and detects the duplicate.)

Remove the "altdev" logic that attempted to keep
track of multiple devices for a single PV.  It
is no longer used since lvmetad is disabled in
this case.
daemons/lvmetad/lvmetad-core.c
This page took 0.028007 seconds and 5 git commands to generate.