lofi(7D) compression support PSARC/2007/569 FastTrack [restart]
Alok Aggarwal
Alok.Aggarwal at sun.com
Wed Oct 10 06:35:05 PDT 2007
On Wed, 10 Oct 2007, Darren J Moffat wrote:
> I believe I have one other question unanswered which is about the size of the
> header/metadata. It wasn't clear to me from the case material how big the
> header area is - though this is less architectural and more personal
> interest/lower level design review.
So, here are the sizes of the various fields mentioned
in materials/ondisk_format.png -
Signature - strlen(name_of_algorithm)
Segment Size - uint32_t (4 bytes)
No. of Segments - uint32_t (4 bytes)
Size of Last Segment - uint32_t (4 bytes)
This is followed by an "Index" where each index
entry is a uint64_t (8 bytes). The number of
index entries depends on the size of the file
in question and the segment size used to compress
that file.
Alok
More information about the opensolaris-arc
mailing list