ext4: add normal write support for inline data
authorTao Ma <boyu.mt@taobao.com>
Mon, 10 Dec 2012 19:05:51 +0000 (14:05 -0500)
committerTheodore Ts'o <tytso@mit.edu>
Mon, 10 Dec 2012 19:05:51 +0000 (14:05 -0500)
commitf19d5870cbf72d4cb2a8e1f749dff97af99b071e
treee919ba96fde504b6d697d1e13abb080d7800f61b
parent46c7f254543dedcf134ad05091ed2b935a9a597d
ext4: add normal write support for inline data

For a normal write case (not journalled write, not delayed
allocation), we write to the inline if the file is small and convert
it to an extent based file when the write is larger than the max
inline size.

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