write support for preallocated blocks
authorAmit Arora <aarora@in.ibm.com>
Wed, 18 Jul 2007 01:42:38 +0000 (21:42 -0400)
committerTheodore Ts'o <tytso@mit.edu>
Wed, 18 Jul 2007 01:42:38 +0000 (21:42 -0400)
commit56055d3ae4cc7fa6d2b10885f20269de8a989ed7
treeab0008be38ef4d2789aee16d084fdaa2d5acfc32
parenta2df2a63407803a833f82e1fa6693826c8c9d584
write support for preallocated blocks

This patch adds write support to the uninitialized extents that get
created when a preallocation is done using fallocate(). It takes care of
splitting the extents into multiple (upto three) extents and merging the
new split extents with neighbouring ones, if possible.

Signed-off-by: Amit Arora <aarora@in.ibm.com>
fs/ext4/extents.c
include/linux/ext4_fs_extents.h