Re: [PATCH] btrfs: add missing discards when unpinning extents with, -o discard

2015-08-21 Thread Jun He
I just want to let you guys know that there are people waiting for the final patches of the discard problem :) -- To unsubscribe from this list: send the line "unsubscribe linux-btrfs" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-

Re: [PATCH] btrfs: add missing discards when unpinning extents with, -o discard

2015-03-30 Thread Jeff Mahoney
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 3/30/15 3:29 PM, Filipe David Manana wrote: > On Mon, Mar 30, 2015 at 8:12 PM, Jeff Mahoney > wrote: >> The block group removal patch adds an alternate path to forget >> extents other than btrfs_finish_extent_commit. As a result, any >> extents

Re: [PATCH] btrfs: add missing discards when unpinning extents with, -o discard

2015-03-30 Thread Filipe David Manana
On Mon, Mar 30, 2015 at 8:12 PM, Jeff Mahoney wrote: > The block group removal patch adds an alternate path to forget extents > other than btrfs_finish_extent_commit. As a result, any extents that would > be freed when the block group is removed aren't discarded. In my > test run, with a large cop

[PATCH] btrfs: add missing discards when unpinning extents with, -o discard

2015-03-30 Thread Jeff Mahoney
The block group removal patch adds an alternate path to forget extents other than btrfs_finish_extent_commit. As a result, any extents that would be freed when the block group is removed aren't discarded. In my test run, with a large copy of mixed sized files followed by removal, it left nearly 2/3