1
0
mirror of git://sourceware.org/git/lvm2.git synced 2024-12-21 13:34:40 +03:00
lvm2/lib/device
David Teigland d5a06f9a7d pvscan: skip indexing devices used by LVs
dev_cache_index_devs() is taking a large amount of time
when there are many PVs.  The index keeps track of
devices that are currently in use by active LVs.  This
info is used to print warnings for users in some limited
cases.

The checks/warnings that are enabled by the index are not
needed by pvscan --cache, so disable it in this case.

This may be expanded to other cases in future commits.
dev_cache_index_devs should also be improved in another
commit to avoid the extreme delays with many devices.
2021-07-06 10:18:07 -05:00
..
bcache-utils.c bcache: use indirection table for fd 2020-09-18 15:10:11 -05:00
bcache.c cov: void unused result 2021-03-15 11:13:24 +01:00
bcache.h bcache: use indirection table for fd 2020-09-18 15:10:11 -05:00
dev-cache.c pvscan: skip indexing devices used by LVs 2021-07-06 10:18:07 -05:00
dev-cache.h pvscan: skip indexing devices used by LVs 2021-07-06 10:18:07 -05:00
dev-dasd.c cov: mask uninitialized value 2021-03-10 01:34:27 +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 cov: mask uninitialized value 2021-03-10 01:34:27 +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 clang: remove unused assignment 2021-04-23 23:00:55 +02:00
dev-swap.c build: Don't generate symlinks in include/ dir 2018-05-14 10:30:20 +01:00
dev-type.c blkid: simplify fs block size check 2021-05-05 16:15:10 -05:00
dev-type.h blkid: simplify fs block size check 2021-05-05 16:15:10 -05:00
device_id.c device_id: handle qemu wwid 2021-06-24 11:30:46 -05:00
device_id.h device usage based on devices file 2021-02-23 16:43:32 -06:00
device-types.h devices: Recognise Veritas Dynamic Multipathing 2017-01-10 22:23:23 +00:00
device.h remove unused flag DEV_UDEV_INFO_MISSING 2021-04-16 16:01:19 -05:00