1
0
mirror of git://sourceware.org/git/lvm2.git synced 2025-01-02 01:18:26 +03:00
lvm2/tools
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
..
.exported_symbols generate liblvm2cmd exported symbols too 2010-06-25 18:23:10 +00:00
.gitignore tools: add generated headers to .gitignore 2017-03-10 13:13:41 +00:00
args.h report: support printing full column names in report headings 2023-08-28 15:44:57 +02:00
cmdnames.h doc: change fsf address 2016-01-21 12:11:37 +01:00
command-lines.in lvconvert: thin conversion accept passed PVs 2023-09-03 22:03:33 +02:00
command.c report: support printing full column names in report headings 2023-08-28 15:44:57 +02:00
command.h commands: use AUTOTYPE in definitions 2021-04-21 08:41:37 -05:00
commands.h devices file: limit warnings about devices file entries not found 2021-08-05 13:20:26 -05:00
dumpconfig.c lvmconfig: add --valuesonly option 2022-08-17 10:47:24 +02:00
errors.h tools: Introduce exit code EINIT_FAILED. 2017-07-26 23:18:03 +01:00
formats.c doc: change fsf address 2016-01-21 12:11:37 +01:00
license.inc makefiles: avoid piping 2023-02-10 17:50:27 +01:00
lv_props.h commands: add lv_is_writable 2023-08-14 17:02:11 +02:00
lv_types.h Allow dm-integrity to be used for raid images 2020-04-15 12:10:32 -05:00
lvchange.c debug: print WARNING: 2023-07-15 11:05:35 +02:00
lvconvert_poll.c thin: ignore parallel merge while polling 2021-03-18 18:34:57 +01:00
lvconvert_poll.h build: Don't generate symlinks in include/ dir 2018-05-14 10:30:20 +01:00
lvconvert.c gcc: warning: missing braces around initializer 2023-09-13 13:38:15 +02:00
lvcreate.c vdo: fix and enhance vdo constain checking 2023-01-16 12:37:40 +01:00
lvdisplay.c process_each_lv: add check_single_lv function 2017-02-13 08:20:10 -06:00
lvextend.c lvresize: restructure code 2022-09-09 16:18:55 -05:00
lvm2cmd-static.c lvmcmdlib: lvm2_init_threaded 2020-10-20 22:22:52 +02:00
lvm2cmd.c lvmcmdlib: lvm2_init_threaded 2020-10-20 22:22:52 +02:00
lvm2cmd.h lvmcmdlib: lvm2_init_threaded 2020-10-20 22:22:52 +02:00
lvm2cmdline.h lvmcmdlib: lvm2_init_threaded 2020-10-20 22:22:52 +02:00
lvm-static.c doc: change fsf address 2016-01-21 12:11:37 +01:00
lvm.c shell: add pre-cmd log report object type and enable lastlog for it 2022-08-22 14:06:34 +02:00
lvmcmdlib.c cmdlib_lvm2_init: release cmd on failure path 2021-09-13 12:34:41 +02:00
lvmcmdline.c report: support printing full column names in report headings 2023-08-28 15:44:57 +02:00
lvmdevices.c device_id: fix conditions for device_ids_refresh 2023-10-05 15:33:55 -05:00
lvmdiskscan.c remove unused full filter 2018-12-04 14:06:46 -06:00
lvpoll.c build: Don't generate symlinks in include/ dir 2018-05-14 10:30:20 +01:00
lvreduce.c lvresize: restructure code 2022-09-09 16:18:55 -05:00
lvremove.c process_each_lv: add check_single_lv function 2017-02-13 08:20:10 -06:00
lvrename.c toollib: make it possible to also process internal VGs, add 'include_internal' switch to process_each_vg fn 2016-06-20 11:33:42 +02:00
lvresize.c lvresize: improve usepolices 2023-07-14 16:52:51 +02:00
lvscan.c debug: print WARNING: 2023-07-15 11:05:35 +02:00
Makefile.in makefiles: allow using configure cppflags 2023-02-13 13:41:59 +01:00
polldaemon.c debug: stacktracing failure 2023-10-02 14:13:12 +02:00
pvchange.c cov: clean up pvid and vgid usage 2021-08-16 11:31:15 -05:00
pvck.c gcc: correct signess comparation 2023-07-13 21:31:18 +02:00
pvcreate.c exit with error when --devicesfile name doesn't exist 2022-07-06 10:10:58 -05:00
pvdisplay.c add device hints to reduce scanning 2019-01-15 10:23:47 -06:00
pvmove_poll.c cov: ensure NULL baton is not dereferenced 2023-05-06 19:22:05 +02:00
pvmove_poll.h doc: change fsf address 2016-01-21 12:11:37 +01:00
pvmove.c pvmove: fix building sibling raid lv name 2023-09-19 14:47:27 +02:00
pvremove.c exit with error when --devicesfile name doesn't exist 2022-07-06 10:10:58 -05:00
pvresize.c exported vg handling 2019-06-25 15:39:08 -05:00
pvscan.c devices: refresh device ids if the system changes 2023-09-27 15:22:11 -05:00
reporter.c report: support printing full column names in report headings 2023-08-28 15:44:57 +02:00
segtypes.c doc: change fsf address 2016-01-21 12:11:37 +01:00
stub.h Remove vgconvert 2018-06-13 14:14:03 -05:00
tags.c doc: change fsf address 2016-01-21 12:11:37 +01:00
tool.h configure: avoid repeative inclusion of configure.h 2018-12-21 19:19:50 +01:00
toollib.c debug: use just single label 2023-08-14 17:02:11 +02:00
toollib.h vdo: support --vdosettings 2022-05-03 19:09:52 +02:00
tools.h report: support printing full column names in report headings 2023-08-28 15:44:57 +02:00
vals.h report: support printing full column names in report headings 2023-08-28 15:44:57 +02:00
vgcfgbackup.c improve reading and repairing vg metadata 2019-06-07 15:54:04 -05:00
vgcfgrestore.c exit with error when --devicesfile name doesn't exist 2022-07-06 10:10:58 -05:00
vgchange.c debug: missing dots 2023-09-12 14:39:14 +02:00
vgck.c vgck: fix updatemetadata writing different descriptions 2019-10-11 12:57:32 -05:00
vgcreate.c exit with error when --devicesfile name doesn't exist 2022-07-06 10:10:58 -05:00
vgdisplay.c tidy: Add missing underscores to statics. 2017-10-18 15:58:13 +01:00
vgexport.c backup: automatically store data on vg_unlock 2021-06-09 14:56:13 +02:00
vgextend.c exit with error when --devicesfile name doesn't exist 2022-07-06 10:10:58 -05:00
vgimport.c vgimport: invalidate hints 2023-02-22 16:19:48 -06:00
vgimportclone.c vgimportclone: fix non-duplicate PV with non-unique basevgname arg 2023-02-09 17:37:22 -06:00
vgimportdevices.c cov: check syscall result 2023-05-06 20:38:57 +02:00
vgmerge.c exit with error when --devicesfile name doesn't exist 2022-07-06 10:10:58 -05:00
vgmknodes.c process_each_lv: add check_single_lv function 2017-02-13 08:20:10 -06:00
vgreduce.c backup: automatically store data on vg_unlock 2021-06-09 14:56:13 +02:00
vgremove.c vgremove: remove online files in run dir 2022-09-14 14:19:29 -05:00
vgrename.c cov: clean up pvid and vgid usage 2021-08-16 11:31:15 -05:00
vgscan.c debug: print WARNING: 2023-07-15 11:05:35 +02:00
vgsplit.c exit with error when --devicesfile name doesn't exist 2022-07-06 10:10:58 -05:00