Hi all, Here's a few patches mostly from Dave to make XFS more aggressive about keeping post-eof speculative preallocations when closing files. If you're going to start using this code, I strongly recommend pulling from my git trees, which are linked below. This has been running on the djcloud for months with no problems. Enjoy! Comments and questions are, as always, welcome. --D kernel git tree: https://git.kernel.org/cgit/linux/kernel/git/djwong/xfs-linux.git/log/?h=reduce-eofblocks-gc-on-close --- fs/xfs/xfs_bmap_util.c | 9 ++++++--- fs/xfs/xfs_file.c | 14 ++++++++++++-- fs/xfs/xfs_inode.c | 13 ++++++------- fs/xfs/xfs_inode.h | 2 +- 4 files changed, 25 insertions(+), 13 deletions(-)