Bug 1375229 - BAT Handling in Checkpoint Disks Issues
Summary: BAT Handling in Checkpoint Disks Issues
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat CloudForms Management Engine
Classification: Red Hat
Component: SmartState Analysis
Version: 5.6.0
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: GA
: 5.7.0
Assignee: Jerry Keselman
QA Contact: Jeff Teehan
URL:
Whiteboard:
Depends On:
Blocks: 1376172
TreeView+ depends on / blocked
 
Reported: 2016-09-12 14:00 UTC by John Prause
Modified: 2017-01-12 05:12 UTC (History)
3 users (show)

Fixed In Version: 5.7.0.0
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
: 1376172 (view as bug list)
Environment:
Last Closed: 2017-01-11 20:24:53 UTC
Category: ---
Cloudforms Team: CFME Core
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description John Prause 2016-09-12 14:00:15 UTC
Address two problems handling the BAT for Checkpoint disks:

Depending upon the disk an attempt may be made to
access BAT information prior to initializing it, so initialize when appropriate.

Based on the VHDX spec the size of the BAT for checkpoint disks is:

Total BAT Entries = Sector Bitmap Blocks Count * (Chunk Ratio + 1)

but there are checkpoint disks where the Sector Bitmap Blocks count is 0.

This is because the calculation of Sector Bitmap Blocks count (as well as
Data Blocks count) was using Integer division and ".ceil", resulting in an
incorrect value.

Comment 2 John Prause 2016-09-12 14:02:05 UTC
https://github.com/ManageIQ/manageiq/pull/10063

Comment 4 Jeff Teehan 2016-10-20 18:25:27 UTC
Verified the same was as the clone.  Created a bunch of checkpoints and resynced.  Moving to verified using 5.7.0.6 on https://10.16.6.104/ems_infra/1019000000000003


Note You need to log in before you can comment on or make changes to this bug.