junneyang / zumastor

Automatically exported from code.google.com/p/zumastor
0 stars 1 forks source link

Bug in bitmap initialization in init_allocation #39

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
The current init_allocation code does bitmap initialization together for
metadata device and snapshot data device, although metadata and snapshot
may use separate bitmap blocks. This may cause problem when metadata and
snapshot use separate devices and the number of metadata bitmap blocks take
a fractional block.

Original issue reported on code.google.com by jiahotc...@gmail.com on 8 Jan 2008 at 12:02

GoogleCodeExporter commented 9 years ago
In the attachment is the proposed patch for fixing the problem. It separates the
initialization of metadata and snapshot bitmaps. It also fixes another bug, 
i.e., the
current code assumes the bitmaps of the reserved bitmap/journal blocks fit in 
one
chunk. The patch deals with the cases that they span multiple chunks.

Original comment by jiahotc...@gmail.com on 11 Jan 2008 at 6:57

Attachments:

GoogleCodeExporter commented 9 years ago
Fixed by revision 1273.

Original comment by jiahotc...@gmail.com on 11 Jan 2008 at 9:37