1
0
mirror of git://sourceware.org/git/lvm2.git synced 2025-01-17 06:04:23 +03:00

Fix --alloc contiguous policy only to allocate one set of parallel areas.

This commit is contained in:
Alasdair Kergon 2010-03-29 17:59:46 +00:00
parent a3a50148fb
commit 1dee5eb625
2 changed files with 2 additions and 2 deletions

View File

@ -1,10 +1,10 @@
Version 2.02.63 - Version 2.02.63 -
================================ ================================
Fix --alloc contiguous policy only to allocate one set of parallel areas.
Do not allow {vg|lv}change --ignoremonitoring if on clustered VG. Do not allow {vg|lv}change --ignoremonitoring if on clustered VG.
Improved dependency tracking for dmeventd and liblvm2cmd sources. Improved dependency tracking for dmeventd and liblvm2cmd sources.
Improved Makefile rules for distclean and cflow targets. Improved Makefile rules for distclean and cflow targets.
Add ability to create mirrored logs for mirror LVs. Add ability to create mirrored logs for mirror LVs.
Use a real socket for singlenode clvmd to fix clvmd's high cpu load.
Fix clvmd cluster propagation of dmeventd monitoring mode. Fix clvmd cluster propagation of dmeventd monitoring mode.
Allow ALLOC_ANYWHERE to split contiguous areas. Allow ALLOC_ANYWHERE to split contiguous areas.
Use INTERNAL_ERROR for internal errors throughout tree. Use INTERNAL_ERROR for internal errors throughout tree.

View File

@ -1243,7 +1243,7 @@ static int _find_parallel_space(struct alloc_handle *ah, alloc_policy_t alloc,
log_needs_allocating, ix_log_offset)) log_needs_allocating, ix_log_offset))
return_0; return_0;
} while (!contiguous && *allocated != needed && can_split); } while ((alloc != ALLOC_CONTIGUOUS) && *allocated != needed && can_split);
return 1; return 1;
} }