[PATCH] xfstests: generic/315, verify preallocated disk space is released per truncate

Ben Myers bpm at sgi.com
Fri Jul 19 17:17:22 CDT 2013


On Mon, Jul 01, 2013 at 06:29:19PM +0800, Jeff Liu wrote:
> From: Jie Liu <jeff.liu at oracle.com>
> 
> Introduce generic test 315 to verify if the disk space is
> released after truncating a preallocated file back to the
> old smaller size.  Before Linux-3.10, Btrfs/OCFS2 test
> failed in this case.
> 
> The test file is fallocated with FALLOC_FL_KEEP_SIZE option.
> 
> Signed-off-by: Jie Liu <jeff.liu at oracle.com>

Looks good.

Reviewed-by: Ben Myers <bpm at sgi.com>

Applied.



More information about the xfs mailing list