]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit5f557e3b26a70aaedaf68c29cb9023d80f3b5a83
treeab0008be38ef4d2789aee16d084fdaa2d5acfc32
parenteda1c6864d773eb688006c7d7a0dc09deb91ba56
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