ext4: add delalloc support for inline data
authorTao Ma <boyu.mt@taobao.com>
Mon, 10 Dec 2012 19:05:57 +0000 (14:05 -0500)
committerTheodore Ts'o <tytso@mit.edu>
Mon, 10 Dec 2012 19:05:57 +0000 (14:05 -0500)
commit9c3569b50f12e47cc5e907b5e37e4a45c0c10b43
treedfd2c1cf5ad98ca059ff2f1f330f34faed2f79eb
parent3fdcfb668fd78ec92d9bc2daddf1d41e2a8a30bb
ext4: add delalloc support for inline data

For delayed allocation mode, we write to inline data if the file
is small enough. And in case of we write to some offset larger
than the inline size, the 1st page is dirtied, so that
ext4_da_writepages can handle the conversion. When the 1st page
is initialized with blocks, the inline part is removed.

Signed-off-by: Tao Ma <boyu.mt@taobao.com>
Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
fs/ext4/ext4.h
fs/ext4/inline.c
fs/ext4/inode.c
fs/ext4/xattr.h