]> sourceware.org Git - lvm2.git/commit
lvmcache: use active LVs and device sizes to choose between duplicates
authorDavid Teigland <teigland@redhat.com>
Tue, 29 Mar 2016 18:29:39 +0000 (13:29 -0500)
committerDavid Teigland <teigland@redhat.com>
Fri, 6 May 2016 14:00:00 +0000 (09:00 -0500)
commit49d9582bed338dc555b616bcc9de20fafd00ce2d
tree77dd4b6f8d0d9d80e31b0b3a2663be5530bd1447
parentd4e434d1e6082ff4d448f4fbc03962c6f0926da4
lvmcache: use active LVs and device sizes to choose between duplicates

If duplicate devices exist for a PV, and one device's
size matches the PV size, but the other doesn't, then
prefer the matching device.

If one device is used by an active LV, prefer that device.
lib/cache/lvmcache.c
This page took 0.031973 seconds and 5 git commands to generate.