]> sourceware.org Git - lvm2.git/commit
scan: ignore duplicates that are md component devs
authorDavid Teigland <teigland@redhat.com>
Fri, 11 May 2018 20:52:22 +0000 (15:52 -0500)
committerDavid Teigland <teigland@redhat.com>
Fri, 11 May 2018 20:52:22 +0000 (15:52 -0500)
commit09fcc8eaa8eb7fa4fcd7c6611bfbfb83f726ae38
treea8fe0348b55b67bf6edd11f1e5e9ca6244f0e4b0
parent73578e36faa78c616716617a83083cc3a31ba03f
scan: ignore duplicates that are md component devs

md devices using an older superblock version have
superblocks at the end of the md device.  For commands
that skip reading the end of devices during filtering,
the md component devs will be scanned, and will appear
as duplicate PVs to the original md device.  Remove
these md components from the list of unused duplicate
devices, so they are treated as if they had been
ignored during filtering.  This avoids the restrictions
that are placed on using PVs with duplicates.
lib/cache/lvmcache.c
lib/device/dev-md.c
This page took 0.037274 seconds and 5 git commands to generate.