mirror of
https://github.com/linux-apfs/apfstests.git
synced 2026-05-01 15:01:44 -07:00
xfstests: generic/315, verify preallocated disk space is released per truncate
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@oracle.com> Reviewed-by: Ben Myers <bpm@sgi.com> Signed-off-by: Ben Myers <bpm@sgi.com>
This commit is contained in:
@@ -0,0 +1,2 @@
|
||||
QA output created by 315
|
||||
Slience is golden
|
||||
Reference in New Issue
Block a user