]> err.no Git - linux-2.6/commit
Change on-disk format to support 2^15 uninitialized extents
authorAmit Arora <aarora@in.ibm.com>
Wed, 18 Jul 2007 13:02:56 +0000 (09:02 -0400)
committerTheodore Ts'o <tytso@mit.edu>
Wed, 18 Jul 2007 13:02:56 +0000 (09:02 -0400)
commit749269facaf87f6e516c3af12763e03181b9c139
tree5c8a2091d4b1ce7636de404a1366bd174b4634fd
parent56055d3ae4cc7fa6d2b10885f20269de8a989ed7
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>
fs/ext4/extents.c
include/linux/ext4_fs_extents.h