Skip to content
  • Amit Arora's avatar
    Change on-disk format to support 2^15 uninitialized extents · 749269fa
    Amit Arora authored
    
    
    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>
    749269fa