commit | f4e95b3316c4daa43224753bb98f41456fef86c7 | [log] [tgz] |
---|---|---|
author | Zheng Liu <gnehzuil.liu@gmail.com> | Sat Jun 30 19:12:57 2012 -0400 |
committer | Theodore Ts'o <tytso@mit.edu> | Sat Jun 30 19:12:57 2012 -0400 |
tree | 29bce2b6f2dc86433f9615a1a6a8628840ad680d | |
parent | 1c8457cadc9cefe7ec920a2f3537ff1fe20f4061 [diff] |
ext4: honor O_(D)SYNC semantic in ext4_fallocate() Ext4 must make sure the transaction to be commited to the disk when user opens a file with O_(D)SYNC flag and do a fallocate(2) call. This problem had been reported by Christoph Hellwig in this thread: http://www.spinics.net/lists/linux-btrfs/msg13621.html Reported-by: Christoph Hellwig <hch@infradead.org> Signed-off-by: Zheng Liu <wenqing.lz@taobao.com> Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>