xfs
[Top] [All Lists]

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

To: Tomas Racek <tracek@xxxxxxxxxx>
Subject: Re: [PATCH 3/3 V2] xfstests: 297: Test that FS sends discard requests only on free blocks
From: Rich Johnston <rjohnston@xxxxxxx>
Date: Tue, 26 Feb 2013 09:32:07 -0600
Cc: <xfs@xxxxxxxxxxx>, <lczerner@xxxxxxxxxx>
Delivered-to: xfs@xxxxxxxxxxx
In-reply-to: <1359886798-8818-3-git-send-email-tracek@xxxxxxxxxx>
References: <1359886798-8818-1-git-send-email-tracek@xxxxxxxxxx> <1359886798-8818-3-git-send-email-tracek@xxxxxxxxxx>
User-agent: Mozilla/5.0 (X11; Linux i686; rv:13.0) Gecko/20120615 Thunderbird/13.0.1
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@xxxxxxxxxx>

Looks good.
Reviewed-by: Rich Johnston <rjohnston@xxxxxxx>

<Prev in Thread] Current Thread [Next in Thread>