Change on-disk format to support 2^15 uninitialized extents

This change was suggested by Andreas Dilger. 
This patch changes the EXT_MAX_LEN value and extent code which marks/checks
uninitialized extents. With this change it will be possible to have
initialized extents with 2^15 blocks (earlier the max blocks we could have
was 2^15 - 1). This way we can have better extent-to-block alignment.
Now, maximum number of blocks we can have in an initialized extent is 2^15
and in an uninitialized extent is 2^15 - 1.

Signed-off-by: Amit Arora <aarora@in.ibm.com>
This commit is contained in:
Amit Arora 2007-07-18 09:02:56 -04:00 • committed by Theodore Ts'o
commit 749269faca
2 changed files with 52 additions and 7 deletions