diff options
author | Alasdair Kergon <agk@redhat.com> | 2012-02-01 02:10:45 +0000 |
---|---|---|
committer | Alasdair Kergon <agk@redhat.com> | 2012-02-01 02:10:45 +0000 |
commit | 72abf1d88021d147276724d3d2a37968e8a067a3 (patch) | |
tree | 224d04259fa5f7d15396149943f8f534a2b07be9 /lib/metadata/pv_map.h | |
parent | f2e3d659eae58094d898b5b6239bf850586597ca (diff) | |
download | lvm2-72abf1d88021d147276724d3d2a37968e8a067a3.tar.gz lvm2-72abf1d88021d147276724d3d2a37968e8a067a3.tar.xz lvm2-72abf1d88021d147276724d3d2a37968e8a067a3.zip |
Track unreserved space for all alloc policies and then permit NORMAL to place
log and data on same single PV.
Diffstat (limited to 'lib/metadata/pv_map.h')
-rw-r--r-- | lib/metadata/pv_map.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/metadata/pv_map.h b/lib/metadata/pv_map.h index 4ebfd4a0..79238c81 100644 --- a/lib/metadata/pv_map.h +++ b/lib/metadata/pv_map.h @@ -31,7 +31,7 @@ struct pv_area { uint32_t start; uint32_t count; - /* Number of extents unreserved during ALLOC_ANYWHERE allocation. */ + /* Number of extents unreserved during a single allocation pass. */ uint32_t unreserved; struct dm_list list; /* pv_map.areas */ @@ -66,7 +66,7 @@ struct dm_list *create_pv_maps(struct dm_pool *mem, struct volume_group *vg, struct dm_list *allocatable_pvs); void consume_pv_area(struct pv_area *area, uint32_t to_go); -void reinsert_reduced_pv_area(struct pv_area *pva); +void reinsert_changed_pv_area(struct pv_area *pva); uint32_t pv_maps_size(struct dm_list *pvms); |