]> sourceware.org Git - lvm2.git/commit
pvscan: fix PV online when device has a different size
authorDavid Teigland <teigland@redhat.com>
Tue, 9 Jul 2019 18:45:09 +0000 (13:45 -0500)
committerDavid Teigland <teigland@redhat.com>
Tue, 9 Jul 2019 18:45:09 +0000 (13:45 -0500)
commitb16abb3816408a296343a75658d4be0ef688390b
tree4c98c77fb096b6becda456486ecfbd174b64fd56
parentf17353e3e604ad2d80bcd77ea0a6a93472e6b5bd
pvscan: fix PV online when device has a different size

Fix commit 7836e7aa1c17216ed368fda89cfc805a07efda81
"pvscan: ignore device with incorrect size"

which caused pvscan to not consider a PV online (for purposes
of event based activation) if the PV and device sizes differed.

This helped to avoid mistaking MD components for PVs, and is
replaced by triggering an md component check when PV and device
sizes differ (which happens in set_pv_device).
tools/pvscan.c
This page took 0.033829 seconds and 5 git commands to generate.