1
0
mirror of git://sourceware.org/git/lvm2.git synced 2024-12-21 13:34:40 +03:00
lvm2/lib/device
David Teigland 1901a47df1 device_id: fix conditions for device_ids_refresh
Fix commit 847f1dd99c
"device_id: rewrite validation of devname entries"

which began calling device_ids_refresh() in cases where it
was unnecessary, leading to extra PV searches and warnings.
Specifically, a command like "lvs <vg>" would use the hints
file to scan only devices for the named VG.  This means that
scanning other PVs would be skipped, and device IDs of those
PVs could not be validated because there are no PVID values
to verify.  This missing info would cause messages about
the missing info, and would cause device_ids_refresh to
search for the PVs that had been intentionally skipped.
2023-10-05 15:33:55 -05:00
..
bcache-utils.c gcc: correct signess comparation 2023-07-13 21:31:18 +02:00
bcache.c cov: mask some warning about leakage 2021-09-20 14:26:09 +02:00
bcache.h bcache: use indirection table for fd 2020-09-18 15:10:11 -05:00
dev_util.c devices: factor common list functions 2022-11-07 11:38:46 -06:00
dev-cache.c debug: check for syscalls 2023-09-03 22:03:33 +02:00
dev-cache.h device_id: rewrite validation of devname entries 2023-08-04 11:45:40 -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 cleanup: correcting some log_print 2023-05-06 20:38:49 +02:00
dev-luks.c filter: remove unused EAGAIN case and flag 2022-04-06 12:51:34 -05:00
dev-lvm1-pool.c build: Don't generate symlinks in include/ dir 2018-05-14 10:30:20 +01:00
dev-md.c filter: remove unused EAGAIN case and flag 2022-04-06 12:51:34 -05:00
dev-mpath.c debug: check for syscalls 2023-09-03 22:03:33 +02:00
dev-swap.c filter: remove unused EAGAIN case and flag 2022-04-06 12:51:34 -05:00
dev-type.c gcc: correct signess comparation 2023-07-13 21:31:18 +02:00
dev-type.h gcc: correct signess comparation 2023-07-13 21:31:18 +02:00
device_id.c device_id: fix conditions for device_ids_refresh 2023-10-05 15:33:55 -05:00
device_id.h device_id: fix conditions for device_ids_refresh 2023-10-05 15:33:55 -05:00
device-types.h devices: recognise rbd (ceph rados block device) 2021-12-13 13:32:06 -06:00
device.h gcc: correct signess comparation 2023-07-13 21:31:18 +02:00
filesystem.c debug: trace result failure 2023-09-03 22:03:33 +02:00
filesystem.h lvresize: fail early if crypt device is missing 2023-01-30 17:12:11 -06:00
online.c debug: check for syscalls 2023-09-03 22:03:33 +02:00
online.h cleanup: correcting some log_print 2023-05-06 20:38:49 +02:00
parse_vpd.c gcc: correct signess comparation 2023-07-13 21:31:18 +02:00