1
0
mirror of git://sourceware.org/git/lvm2.git synced 2024-12-22 17:35:59 +03:00
lvm2/lib/commands
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
..
cmd_enum.h cmd_enum: correct inclusion 2023-06-09 18:01:16 +02:00
toolcontext.c filters: leave device_id_sysfs_dir only for device_id 2023-10-04 22:03:56 +02:00
toolcontext.h device_id: fix conditions for device_ids_refresh 2023-10-05 15:33:55 -05:00