Re: [PATCH] xfstests: generic: test for discard properly discarding unused extents

2015-04-02 Thread Jeff Mahoney
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 4/2/15 8:33 AM, Lukáš Czerner wrote: > On Mon, 30 Mar 2015, Jeff Mahoney wrote: > >> Date: Mon, 30 Mar 2015 15:11:06 -0400 From: Jeff Mahoney >> To: linux-btrfs , >> fste...@vger.kernel.org Subject: [PATCH] xfstest

Re: [PATCH] xfstests: generic: test for discard properly discarding unused extents

2015-04-02 Thread Lukáš Czerner
On Mon, 30 Mar 2015, Jeff Mahoney wrote: > Date: Mon, 30 Mar 2015 15:11:06 -0400 > From: Jeff Mahoney > To: linux-btrfs , fste...@vger.kernel.org > Subject: [PATCH] xfstests: generic: test for discard properly discarding > unused extents > > This tests tests four con

Re: [PATCH] xfstests: generic: test for discard properly discarding unused extents

2015-04-02 Thread Brian Foster
On Wed, Apr 01, 2015 at 03:01:07PM -0400, Jeff Mahoney wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > On 4/1/15 2:44 PM, Brian Foster wrote: > > On Mon, Mar 30, 2015 at 03:11:06PM -0400, Jeff Mahoney wrote: > >> This tests tests four conditions where discard can potentially > >> not

Re: [PATCH] xfstests: generic: test for discard properly discarding unused extents

2015-04-01 Thread Dave Chinner
On Wed, Apr 01, 2015 at 03:01:07PM -0400, Jeff Mahoney wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > On 4/1/15 2:44 PM, Brian Foster wrote: > > On Mon, Mar 30, 2015 at 03:11:06PM -0400, Jeff Mahoney wrote: > >> This tests tests four conditions where discard can potentially > >> not

Re: [PATCH] xfstests: generic: test for discard properly discarding unused extents

2015-04-01 Thread Jeff Mahoney
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 4/1/15 2:44 PM, Brian Foster wrote: > On Mon, Mar 30, 2015 at 03:11:06PM -0400, Jeff Mahoney wrote: >> This tests tests four conditions where discard can potentially >> not discard unused extents completely. >> >> We test, with -o discard and with

Re: [PATCH] xfstests: generic: test for discard properly discarding unused extents

2015-04-01 Thread Brian Foster
On Mon, Mar 30, 2015 at 03:11:06PM -0400, Jeff Mahoney wrote: > This tests tests four conditions where discard can potentially not > discard unused extents completely. > > We test, with -o discard and with fstrim, scenarios of removing many > relatively small files and removing several large files

[PATCH] xfstests: generic: test for discard properly discarding unused extents

2015-03-30 Thread Jeff Mahoney
This tests tests four conditions where discard can potentially not discard unused extents completely. We test, with -o discard and with fstrim, scenarios of removing many relatively small files and removing several large files. The important part of the two scenarios is that the large files must