1
0
mirror of git://sourceware.org/git/lvm2.git synced 2024-12-21 13:34:40 +03:00
lvm2/lib/label
David Teigland db98a6e362 Additional MD component checking
If udev info is missing for a device, (which would indicate
if it's an MD component), then do an end-of-device read to
check if a PV is an MD component.  (This is skipped when
using hints since we already know devs in hints are good.)

A new config setting md_component_checks can be used to
disable the additional end-of-device MD checks, or to
always enable end-of-device MD checks.

When both hints and udev info are disabled/unavailable,
the end of PVs will now be scanned by default.  If md
devices with end-of-device superblocks are not being
used, the extra I/O overhead can be avoided by setting
md_component_checks="start".
2019-06-07 13:27:16 -05:00
..
hints.c hints: exclude md components 2019-05-21 11:58:01 -05:00
hints.h hints: skip hint flock if nolocking option is set 2019-04-29 13:01:15 -05:00
label.c Additional MD component checking 2019-06-07 13:27:16 -05:00
label.h wipe_lv: initially open LV in writable mode 2019-04-26 14:49:27 -05:00