mrc0mmand / rpms / lvm2

Forked from rpms/lvm2 2 years ago
Clone

Blame SOURCES/lvm2-2_02_131-do-not-check-for-full-thin-pool-when-activating-without-messages.patch

a4cb28
 WHATS_NEW_DM          | 4 ++++
a4cb28
 libdm/libdm-deptree.c | 2 +-
a4cb28
 2 files changed, 5 insertions(+), 1 deletion(-)
a4cb28
a4cb28
diff --git a/WHATS_NEW_DM b/WHATS_NEW_DM
a4cb28
index b509d68..9e30786 100644
a4cb28
--- a/WHATS_NEW_DM
a4cb28
+++ b/WHATS_NEW_DM
a4cb28
@@ -1,3 +1,7 @@
a4cb28
+Version 1.02.108 - 
a4cb28
+=====================================
a4cb28
+  Do not check for full thin pool when activating without messages (1.02.107).
a4cb28
+
a4cb28
 Version 1.02.107 - 5th September 2015
a4cb28
 =====================================
a4cb28
   Parse thin-pool status with one single routine internally.
a4cb28
diff --git a/libdm/libdm-deptree.c b/libdm/libdm-deptree.c
a4cb28
index d40362d..7b7ca5b 100644
a4cb28
--- a/libdm/libdm-deptree.c
a4cb28
+++ b/libdm/libdm-deptree.c
a4cb28
@@ -1633,7 +1633,7 @@ static int _node_send_messages(struct dm_tree_node *dnode,
a4cb28
 		return 0;
a4cb28
 	}
a4cb28
 
a4cb28
-	if (!send)
a4cb28
+	if (!have_messages || !send)
a4cb28
 		return 1; /* transaction_id is matching */
a4cb28
 
a4cb28
 	dm_list_iterate_items(tmsg, &seg->thin_messages) {