dev-dct-process-latest - allocation: use vg memory pool
Gitweb: http://git.fedorahosted.org/git/?p=lvm2.git;a=commitdiff;h=15ba2afdc2d70ee21c2599f0d51a413f0a7afa9b Commit: 15ba2afdc2d70ee21c2599f0d51a413f0a7afa9b Parent: 3880ca5ecad1761bd13a190c58f8f85fdd7cd0e1 Author: Zdenek Kabelac <[email protected]> AuthorDate: Thu Sep 11 19:00:13 2014 +0200 Committer: Zdenek Kabelac <[email protected]> CommitterDate: Fri Sep 12 13:39:58 2014 +0200
allocation: use vg memory pool
Looks like forgotten memory allocation related to VG used cmd mem pool.
--- lib/metadata/lv_manip.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
lib/metadata/lv_manip.c +1 -1
@@ -3083,7 +3083,7 @@ struct alloc_handle *allocate_extents(struct volume_group *vg,if (alloc >=ALLOC_INHERIT ) alloc = vg->alloc; -if (!(ah =_alloc_init (vg->cmd, vg->cmd->mem, segtype, alloc, approx_alloc, +if (!(ah =_alloc_init (vg->cmd, vg->vgmem, segtype, alloc, approx_alloc, lv ? lv->le_count :0 , extents, mirrors, stripes, log_count, vg->extent_size, region_size, parallel_areas)))