diff options
author | Jan Kara <jack@suse.cz> | 2011-06-03 23:58:11 +0400 |
---|---|---|
committer | Jan Kara <jack@suse.cz> | 2011-06-25 19:29:52 +0400 |
commit | ee3e77f18010679a889b3831c2dd931238c12d09 (patch) | |
tree | 761c06de9b82cba8a8a2e1cd2174fe7afa59efd9 /Documentation/filesystems/ext4.txt | |
parent | 9008593017069ad513cc7dc78a6c94e8dfddba31 (diff) | |
download | linux-ee3e77f18010679a889b3831c2dd931238c12d09.tar.xz |
ext3: Improve truncate error handling
New truncate calling convention allows us to handle errors from
ext3_block_truncate_page(). So reorganize the code so that
ext3_block_truncate_page() is called before we change inode size.
This also removes unnecessary block zeroing from error recovery after failed
buffered writes (zeroing isn't needed because we could have never written
non-zero data to disk). We have to be careful and keep zeroing in direct IO
write error recovery because there we might have already overwritten end of the
last file block.
Signed-off-by: Jan Kara <jack@suse.cz>
Diffstat (limited to 'Documentation/filesystems/ext4.txt')
0 files changed, 0 insertions, 0 deletions