1
0
mirror of git://sourceware.org/git/lvm2.git synced 2024-12-21 13:34:40 +03:00
lvm2/test
David Teigland d12baba1a9 pvscan: match device arg to filter symlink
This fixes an issue related to the optimization in
  "pvscan: only add device args to dev cache"

If the devices file is not used, and the lvm.conf filter
accepts devices via symlink names, then those devices won't
be accepted by pvscan for autoactivation.  To resolve this,
recognize when the filter contains symlinks and disable the
optimization.  When the optimization is disabled, a full
dev_cache_scan is performed, and symlinks are associated
with the device names passed to pvscan.  filter-regex
will accept a device if symlinks to that device are accepted.
2021-11-29 17:13:44 -06:00
..
api shellcheck: updates 2021-04-23 23:00:55 +02:00
dbus tests: test_pv_symlinks works only with /dev dir 2021-03-28 00:21:38 +01:00
lib cov: ignoring 2021-09-27 18:56:14 +02:00
shell pvscan: match device arg to filter symlink 2021-11-29 17:13:44 -06:00
unit cov: ignore close result 2021-10-15 23:40:29 +02:00
.gitignore test: add results/ to .gitignore 2016-12-10 18:00:25 +00:00
Makefile.in vdo: Rename vdoimport to lvm_import_vdo. 2021-08-26 17:13:59 +02:00