]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitf8d4db5a6d2e37158eb6c31b5849f872ec8688f0
treedfd2c1cf5ad98ca059ff2f1f330f34faed2f79eb
parenta4a2995237e09457224e4565e341b74b6bf96049
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