4 This is a file format of an RBD image or snapshot. It's a sparse format
5 for the full image. There are three recording sections in the file.
19 Every record has a one byte "tag" that identifies the record type,
20 followed by length of data, and then some other data.
22 Metadata records come in the first part of the image. Order is not
23 important, as long as all the metadata records come before the data
26 In v2, we have the following metadata in each section:
31 In this way, we can skip the unrecognized tag.
37 - le64: length of appending data (8)
44 - le64: length of appending data (8)
51 - le64: length of appending data (8)
52 - le64: image features
58 - le64: length of appending data (8)
59 - le64: image striping unit
65 - le64: length of appending data (8)
66 - le64: image striping count
79 Record the all snapshots and the HEAD in this section.
81 - le64: number of diffs
84 Detail please refer to rbd-diff.rst