Skip to content
Commit 749269fa authored by Amit Arora's avatar Amit Arora Committed by Theodore Ts'o
Browse files

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: default avatarAmit Arora <aarora@in.ibm.com>
parent 56055d3a
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment