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.44/libdm/libdm-deptree.c =================================================================== --- LVM2.2.02.44.orig/libdm/libdm-deptree.c 2009-02-20 14:29:29.000000000 +0100 +++ LVM2.2.02.44/libdm/libdm-deptree.c 2009-02-20 14:29:33.000000000 +0100 @@ -1631,6 +1631,9 @@ static int _add_snapshot_target(struct d seg->persistent = persistent ? 1 : 0; seg->chunk_size = chunk_size; + if (merge) + node->activation_priority = 1; + return 1; }