[PATCH 3/3 V2] xfstests: 297: Test that FS sends discard requests only on free blocks

Rich Johnston rjohnston at sgi.com
Tue Feb 26 09:32:07 CST 2013


On 02/03/2013 04:19 AM, Tomas Racek wrote:
> 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 at redhat.com>

Looks good.
Reviewed-by: Rich Johnston <rjohnston at sgi.com>



More information about the xfs mailing list