]> 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)
commit7add67980d2fbe3228be6ce007d8267348a4141f
treedfd2c1cf5ad98ca059ff2f1f330f34faed2f79eb
parente6922233d3577957231570e6f0a653d1095b4e11
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