Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Maintenance:3693
lvm2.openSUSE_13.1_Update
acdc731e-RAID-Fix-_sufficient_pes_free-calculat...
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File acdc731e-RAID-Fix-_sufficient_pes_free-calculation.patch of Package lvm2.openSUSE_13.1_Update
Index: LVM2.2.02.98/lib/metadata/lv_manip.c =================================================================== --- LVM2.2.02.98.orig/lib/metadata/lv_manip.c +++ LVM2.2.02.98/lib/metadata/lv_manip.c @@ -926,7 +926,7 @@ static int _sufficient_pes_free(struct a { uint32_t area_extents_needed = (extents_still_needed - allocated) * ah->area_count / ah->area_multiple; uint32_t parity_extents_needed = (extents_still_needed - allocated) * ah->parity_count / ah->area_multiple; - uint32_t metadata_extents_needed = ah->metadata_area_count * RAID_METADATA_AREA_LEN; /* One each */ + uint32_t metadata_extents_needed = (ah->alloc_and_split_meta) ? 0 : ah->metadata_area_count * RAID_METADATA_AREA_LEN; /* One each */ uint32_t total_extents_needed = area_extents_needed + parity_extents_needed + metadata_extents_needed; uint32_t free_pes = pv_maps_size(pvms);
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor