Files
apfstests/298.out
T
Tomas Racek 76765b7e4e xfstests: 298: Test that FS sends discard requests only on free blocks
V1->V2: Change way of testing suggested by Dave Chinner
1. Create image file with FS on it
2. Call fstrim to discard free blocks
3. Check that every punched hole in the image file is in the area
   that is marked as free

Signed-off-by: Tomas Racek <tracek@redhat.com>
Reviewed-by: Rich Johnston <rjohnston@sgi.com>
Signed-off-by: Rich Johnston <rjohnston@sgi.com>
2013-02-26 09:22:24 -06:00

6 lines
182 B
Plaintext

QA output created by 298
Generating garbage on loop...done.
Running fstrim...done.
Detecting interesting holes in image...done.
Comparing holes to the reported space from FS...done.