mirror of
git://sourceware.org/git/lvm2.git
synced 2024-12-21 13:34:40 +03:00
libdm: no validate for pool without messages
Avoid validation of free space in pool, when no messages are passed.
Patch a3c7e326c3
add new check for
pool overload - but this check should not be made if there are
no messages and transaction_id is still within 'bounds' (bigger by 1).
This commit is contained in:
parent
e42ee69988
commit
c356991fa8
@ -1,5 +1,6 @@
|
|||||||
Version 1.02.108 -
|
Version 1.02.108 -
|
||||||
=====================================
|
=====================================
|
||||||
|
Do not check for full thin pool when activating without messages (1.02.107).
|
||||||
|
|
||||||
Version 1.02.107 - 5th September 2015
|
Version 1.02.107 - 5th September 2015
|
||||||
=====================================
|
=====================================
|
||||||
|
@ -1633,7 +1633,7 @@ static int _node_send_messages(struct dm_tree_node *dnode,
|
|||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!send)
|
if (!have_messages || !send)
|
||||||
return 1; /* transaction_id is matching */
|
return 1; /* transaction_id is matching */
|
||||||
|
|
||||||
dm_list_iterate_items(tmsg, &seg->thin_messages) {
|
dm_list_iterate_items(tmsg, &seg->thin_messages) {
|
||||||
|
Loading…
Reference in New Issue
Block a user