snapshot-merge target is activated in place of origin target, so it must be resumed after all other snapshots --- otherwise small window for data corruption would exist. Signed-off-by: Mikulas Patocka --- libdm/libdm-deptree.c | 3 +++ 1 file changed, 3 insertions(+) Index: LVM2.2.02.45/libdm/libdm-deptree.c =================================================================== --- LVM2.2.02.45.orig/libdm/libdm-deptree.c 2009-05-18 04:32:40.000000000 +0200 +++ LVM2.2.02.45/libdm/libdm-deptree.c 2009-05-18 04:36:11.000000000 +0200 @@ -1625,6 +1625,9 @@ static int _add_snapshot_target(struct d seg->persistent = persistent ? 1 : 0; seg->chunk_size = chunk_size; + if (seg_type == SEG_SNAPSHOT_MERGE) + node->activation_priority = 1; + return 1; }