1
0
mirror of git://sourceware.org/git/lvm2.git synced 2024-12-22 17:35:59 +03:00
lvm2/lib/metadata
Zdenek Kabelac e217873ed6 snapshot: add synchronization point
Synchronize with udev logic before reusing device as snapshot.

This patch tries to fix the problem with udev, where we manage
to 'active' LV for clearing, then we deactivate such device and
active again as member of 'origin&snapshot' tree all in 1 step.

There needs to be a sync point where udev has time to remove all links,
otherwise we race with scans and we may end-up with mysterious 'free'
links in the system pointing to wrong dm names.

This patch tries to fix failing topology cluster tests..
2015-06-24 15:18:49 +02:00
..
cache_manip.c cache: Fix a segfault when passing --cachepolicy without --cachesettings. 2015-02-24 11:39:35 +01:00
lv_alloc.h thin: simplify thin volume creation 2014-10-26 18:37:13 +01:00
lv_manip.c snapshot: add synchronization point 2015-06-24 15:18:49 +02:00
lv.c Add the 's' activation mode 2015-06-16 10:18:16 -05:00
lv.h cleanup: for commit 7bcb3fb02d 2015-01-21 11:29:12 +01:00
merge.c cleanup: add lv_is_error_when_full() macro 2015-01-20 14:52:06 +01:00
metadata-exported.h lv_refresh: move the bulk of the function into lib 2015-06-16 13:38:40 -05:00
metadata.c metadata: When outdated PVs are wiped, notify lvmetad about the fact. 2015-06-10 16:27:12 +02:00
metadata.h metadata: Reject lvmetad metadata extensions when reading from disk. 2015-06-10 16:25:57 +02:00
mirror.c mirror: use proper 64bit constants 2015-05-15 22:53:12 +02:00
pool_manip.c pool: fix typo in error message: then -> than 2014-12-04 09:18:16 +01:00
pv_alloc.h cleanup: self compilable headers 2013-12-12 13:28:19 +01:00
pv_manip.c pvremove: Avoid metadata re-reads & related error messages. 2015-01-06 14:27:30 +01:00
pv_map.c raid_manip: v2 fix multi-segment misallocation on 'lvconvert --repair' 2015-01-16 13:44:16 +01:00
pv_map.h Track unreserved space for all alloc policies and then permit NORMAL to place 2012-02-01 02:10:45 +00:00
pv.c pv_vg_name: do not expose internal orphans to lvm2 users 2014-03-19 00:57:59 +01:00
pv.h cleanup: self compilable headers 2013-12-12 13:28:19 +01:00
raid_manip.c pre-release 2015-05-15 23:19:29 +01:00
replicator_manip.c cleanup: constify activation usage of lv pointer 2014-09-24 10:54:47 +02:00
segtype.c clean: remove unneeded assign 2013-06-17 09:34:56 +02:00
segtype.h thin: errrorwhenfull support 2015-01-14 14:52:05 +01:00
snapshot_manip.c cleanup: fix typo and use vg mempool 2014-09-24 10:54:47 +02:00
thin_manip.c thin: support unaligned size of external origin and thin pool 2015-06-18 18:50:36 +02:00
vg.c metadata: Add pvs_outdated to struct volume_group. 2015-05-20 19:46:14 +02:00
vg.h metadata: Explain the pvs_outdated field in struct volume_group. 2015-06-10 16:17:45 +02:00