1
0
mirror of git://sourceware.org/git/lvm2.git synced 2025-03-11 20:58:50 +03:00

Always include debug mesg when cling to allocated is set.

This commit is contained in:
Alasdair Kergon 2012-05-11 15:32:19 +00:00
parent b63eb871fd
commit 70cacce52e

View File

@ -1673,7 +1673,7 @@ static int _find_some_parallel_space(struct alloc_handle *ah, const struct alloc
if (alloc_parms->flags & A_CLING_TO_ALLOCED)
ix_offset = ah->area_count;
if (alloc_parms->alloc == ALLOC_NORMAL)
if (alloc_parms->alloc == ALLOC_NORMAL || (alloc_parms->flags & A_CLING_TO_ALLOCED))
log_debug("Cling_to_allocated is %sset",
alloc_parms->flags & A_CLING_TO_ALLOCED ? "" : "not ");