]> sourceware.org Git - lvm2.git/commit
Additional MD component checking
authorDavid Teigland <teigland@redhat.com>
Tue, 21 May 2019 17:06:34 +0000 (12:06 -0500)
committerDavid Teigland <teigland@redhat.com>
Fri, 7 Jun 2019 18:27:16 +0000 (13:27 -0500)
commitdb98a6e3629aaf6bf42d0e840273b4328f930c89
tree33948d5176fca6c84a10bb325d59188e63d2ace1
parent24bd35b4ce77a5111ee234f554ca139df4b7dd99
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".
lib/cache/lvmcache.c
lib/commands/toolcontext.h
lib/config/config_settings.h
lib/config/defaults.h
lib/device/dev-md.c
lib/device/dev-type.c
lib/device/device.h
lib/label/label.c
test/shell/lvm-on-md.sh
tools/lvmcmdline.c
This page took 0.031984 seconds and 5 git commands to generate.