1
0
mirror of git://sourceware.org/git/lvm2.git synced 2024-12-21 13:34:40 +03:00
lvm2/lib/activate
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
..
activate.c cleanup: add dots to some messages 2016-06-23 14:57:08 +02:00
activate.h cleanup: gather version info with single check 2016-05-05 23:34:30 +02:00
dev_manager.c thin: fix link validation for unused thin-pool 2016-07-01 00:44:46 +02:00
dev_manager.h setup_task: add with_flush 2016-05-27 15:47:24 +02:00
fs.c doc: change fsf address 2016-01-21 12:11:37 +01:00
fs.h doc: change fsf address 2016-01-21 12:11:37 +01:00
targets.h doc: change fsf address 2016-01-21 12:11:37 +01:00