commit | 981250ca89261f98bdfd2d6be1fcccb96cbbc00d | [log] [tgz] |
---|---|---|
author | Theodore Ts'o <tytso@mit.edu> | Wed Jun 12 11:48:29 2013 -0400 |
committer | Theodore Ts'o <tytso@mit.edu> | Wed Jun 12 11:48:29 2013 -0400 |
tree | dc60f0b2df0b1544fe551ed415e7cefe1c3d3907 | |
parent | 2ed5724d5a78a22864ef0bd6af4fcb8a15379f00 [diff] |
ext4: don't use EXT4_FREE_BLOCKS_FORGET unnecessarily Commit 18888cf0883c: "ext4: speed up truncate/unlink by not using bforget() unless needed" removed the use of EXT4_FREE_BLOCKS_FORGET in the most important codepath for file systems using extents, but a similar optimization also can be done for file systems using indirect blocks, and for the two special cases in the ext4 extents code. Cc: Andrey Sidorov <qrxd43@motorola.com> Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>