]> git.karo-electronics.de Git - karo-tx-linux.git/commit
ext4: Add flag to files with blocks intentionally past EOF
authorJiaying Zhang <jiayingz@google.com>
Wed, 24 Feb 2010 14:52:53 +0000 (09:52 -0500)
committerTheodore Ts'o <tytso@mit.edu>
Wed, 24 Feb 2010 14:52:53 +0000 (09:52 -0500)
commitc8d46e41bc744c8fa0092112af3942fcd46c8b18
treefd8bad55c3c9903b6c798b838396bc832bbf7f4b
parent73b50c1c92666d326b5fa2c945d46509f2f6d91f
ext4: Add flag to files with blocks intentionally past EOF

fallocate() may potentially instantiate blocks past EOF, depending
on the flags used when it is called.

e2fsck currently has a test for blocks past i_size, and it
sometimes trips up - noticeably on xfstests 013 which runs fsstress.

This patch from Jiayang does fix it up - it (along with
e2fsprogs updates and other patches recently from Aneesh) has
survived many fsstress runs in a row.

Signed-off-by: Eric Sandeen <sandeen@redhat.com>
Signed-off-by: Jiaying Zhang <jiayingz@google.com>
Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
fs/ext4/ext4.h
fs/ext4/extents.c
fs/ext4/inode.c
fs/ext4/ioctl.c