Re: [PATCH v2 1/2] Btrfs: factor out extent dropping code from hole punch handler

2019-07-01 Thread David Sterba
On Fri, Jun 28, 2019 at 11:11:26PM +0100, fdman...@kernel.org wrote: > From: Filipe Manana > > Move the code that is responsible for dropping extents in a range out of > btrfs_punch_hole() into a new helper function, btrfs_punch_hole_range(), > so that later it can be used by the reflinking (exte

[PATCH v2 1/2] Btrfs: factor out extent dropping code from hole punch handler

2019-06-28 Thread fdmanana
From: Filipe Manana Move the code that is responsible for dropping extents in a range out of btrfs_punch_hole() into a new helper function, btrfs_punch_hole_range(), so that later it can be used by the reflinking (extent cloning and dedup) code to fix a ENOSPC bug. Signed-off-by: Filipe Manana