[Tux3] Encoding of extent information

Daniel Phillips phillips at phunq.net
Tue Oct 7 23:36:13 PDT 2008


On Tuesday 07 October 2008 23:31, Daniel Phillips wrote:
> On Sunday 05 October 2008 23:33, Philip Pokorny wrote:
> > I was wondering how you were encoding the length into "unused" bits of the extent pointers.
> > 
> > I've seen you use high-order bits elsewhere in your design, so I assume you took 6 bits from the top of the pointer thinking that 2^58 should be big enough for a block pointer.

Yes, 6 bits for the extent count and another 10 for the extent version
(when versioning arrives) leaving 48 bits for the block address, giving
an addressable volume size of 2^60 or one exabyte with 4k blocks.

Regards,

Daniel

_______________________________________________
Tux3 mailing list
Tux3 at tux3.org
http://tux3.org/cgi-bin/mailman/listinfo/tux3



More information about the Tux3 mailing list