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>
This commit is contained in:
Amit Arora 2007-07-17 21:42:38 -04:00 committed by Theodore Ts'o
commit 56055d3ae4
2 changed files with 225 additions and 32 deletions