1
0
mirror of git://sourceware.org/git/lvm2.git synced 2025-02-07 05:58:00 +03:00
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
..
2016-06-28 02:30:36 +01:00
2016-04-29 19:47:15 +01:00
2016-06-22 13:13:10 -05:00
2016-02-25 09:14:10 -06:00
2016-06-30 17:59:44 +01:00
2016-06-28 02:30:31 +01:00
2016-01-21 12:11:37 +01:00
2016-06-28 02:30:31 +01:00
2016-01-21 12:11:37 +01:00
2016-06-30 17:59:44 +01:00
2016-04-22 01:12:34 +02:00
2016-01-21 12:11:37 +01:00
2016-01-21 12:11:37 +01:00
2016-06-30 17:59:44 +01:00
2016-01-21 12:11:37 +01:00
2016-06-22 13:13:10 -05:00