Files
linux/fs/ext4
Jan Kara 21228341bf ext4: fix races of writeback with punch hole and zero range
commit 011278485e upstream.

When doing delayed allocation, update of on-disk inode size is postponed
until IO submission time. However hole punch or zero range fallocate
calls can end up discarding the tail page cache page and thus on-disk
inode size would never be properly updated.

Make sure the on-disk inode size is updated before truncating page
cache.

Signed-off-by: Jan Kara <jack@suse.com>
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2016-05-04 14:48:53 -07:00
..
2015-04-02 23:47:42 -04:00
2015-04-02 23:47:42 -04:00
2015-04-02 23:47:42 -04:00
2015-11-09 15:11:24 -08:00
2014-02-20 13:32:10 -05:00
2016-02-25 12:01:15 -08:00