Re: [PATCH] Btrfs: implement support for fallocate collapse range

2014-07-03 Thread Filipe David Manana
On Thu, Jul 3, 2014 at 5:46 AM, Chandan Rajendra chan...@linux.vnet.ibm.com wrote: On Monday 23 Jun 2014 11:25:47 Filipe David Borba Manana wrote: diff --git a/fs/btrfs/ctree.c b/fs/btrfs/ctree.c index aeab453..8f1a371 100644 --- a/fs/btrfs/ctree.c +++ b/fs/btrfs/ctree.c @@ -2825,12 +2825,12

Re: [PATCH] Btrfs: implement support for fallocate collapse range

2014-07-02 Thread Chandan Rajendra
On Monday 23 Jun 2014 11:25:47 Filipe David Borba Manana wrote: diff --git a/fs/btrfs/ctree.c b/fs/btrfs/ctree.c index aeab453..8f1a371 100644 --- a/fs/btrfs/ctree.c +++ b/fs/btrfs/ctree.c @@ -2825,12 +2825,12 @@ cow_done: * It is safe to drop the lock on our parent before we

[PATCH] Btrfs: implement support for fallocate collapse range

2014-06-23 Thread Filipe David Borba Manana
This implements fallocate's FALLOC_FL_COLLAPSE_RANGE operation for BTRFS. This fallocate operation was introduced in the linux kernel version 3.15. Existing tests in xfstests already test this operation explicitly and implicitly via fsstress. Signed-off-by: Filipe David Borba Manana