1
0
mirror of git://sourceware.org/git/lvm2.git synced 2024-12-21 13:34:40 +03:00
lvm2/test
Zdenek Kabelac 458918b319 thin: fix link validation for unused thin-pool
This patch fixes link validation for used thin-pool.
Udev rules correctly creates symlinks only for unused new thin-pool.
Such thin-pool can be used by foreing apps (like Docker) thus
has  /dev/vg/lv link.
However when thin-pool becomes used by thinLV - this link is no
longer exposed to user - but internal verfication missed this
and caused messages like this to be printed upon 'vgchange -ay':

The link /dev/vg/pool should have been created by udev but it was not
found. Falling back to direct link creation.

And same with 'vgchange -an':
The link /dev/vg/pool should have been removed by udev but it is still
present. Falling back to direct link removal.

This patch ensures only unused thin-pool has this link.
2016-07-01 00:44:46 +02:00
..
api test: Move bus configuration to prepare function 2016-03-23 12:27:34 +01:00
dbus lvmdbustest: Comment out refresh check for LV create 2016-06-28 13:36:32 -05:00
lib tests: aux prepare_thin_metadata 2016-06-23 14:59:29 +02:00
shell thin: fix link validation for unused thin-pool 2016-07-01 00:44:46 +02:00
unit doc: change fsf address 2016-01-21 12:11:37 +01:00
.gitignore gitignore: Remove redundant test dir entry 2012-06-08 23:34:15 +01:00
Makefile.in vgimportclone: add native command 2016-06-22 13:13:10 -05:00