1
0
mirror of git://sourceware.org/git/lvm2.git synced 2024-12-30 17:18:21 +03:00
lvm2/lib/device
David Teigland 3fd75d1bcd scan: use full md filter when md 1.0 devices are present
The md filter can operate in two native modes:
- normal: reads only the start of each device
- full: reads both the start and end of each device

md 1.0 devices place the superblock at the end of the device,
so components of this version will only be identified and
excluded when lvm uses the full md filter.

Previously, the full md filter was only used in commands
that could write to the device.  Now, the full md filter
is also applied when there is an md 1.0 device present
on the system.  This means the 'pvs' command can avoid
displaying md 1.0 components (at the cost of doubling
the i/o to every device on the system.)

(The md filter can operate in a third mode, using udev,
but this is disabled by default because there have been
problems with reliability of the info returned from udev.)
2018-06-15 12:21:25 -05:00
..
bcache-utils.c build: Don't generate symlinks in include/ dir 2018-05-14 10:30:20 +01:00
bcache.c device_mapper: remove dbg_malloc. 2018-06-08 13:40:53 +01:00
bcache.h device_mapper: rename libdevmapper.h -> all.h 2018-06-08 12:31:45 +01:00
dev-cache.c Add cmd arg to more functions 2018-06-15 11:03:55 -05:00
dev-cache.h Add cmd arg to more functions 2018-06-15 11:03:55 -05:00
dev-dasd.c build: Don't generate symlinks in include/ dir 2018-05-14 10:30:20 +01:00
dev-ext-udev-constants.h dev-type: check for DEVLINKS udev db variable existence if udev_device_get_is_initialized fn is not present 2016-09-06 13:21:29 +02:00
dev-ext.c build: Don't generate symlinks in include/ dir 2018-05-14 10:30:20 +01:00
dev-io.c device_mapper: remove dbg_malloc. 2018-06-08 13:40:53 +01:00
dev-luks.c build: Don't generate symlinks in include/ dir 2018-05-14 10:30:20 +01:00
dev-lvm1-pool.c build: Don't generate symlinks in include/ dir 2018-05-14 10:30:20 +01:00
dev-md.c scan: use full md filter when md 1.0 devices are present 2018-06-15 12:21:25 -05:00
dev-swap.c build: Don't generate symlinks in include/ dir 2018-05-14 10:30:20 +01:00
dev-type.c device_mapper: remove dbg_malloc. 2018-06-08 13:40:53 +01:00
dev-type.h scan: use full md filter when md 1.0 devices are present 2018-06-15 12:21:25 -05:00
device-types.h devices: Recognise Veritas Dynamic Multipathing 2017-01-10 22:23:23 +00:00
device.h device_mapper: remove dbg_malloc. 2018-06-08 13:40:53 +01:00