Re: [PATCH v1 3/8] btrfs: add .copy_file_range file operation

2015-09-09 Thread David Sterba
On Fri, Sep 04, 2015 at 04:16:57PM -0400, Anna Schumaker wrote: > From: Zach Brown > > This rearranges the existing COPY_RANGE ioctl implementation so that the > .copy_file_range file operation can call the core loop that copies file > data extent items. > > The extent copying

[PATCH v1 3/8] btrfs: add .copy_file_range file operation

2015-09-04 Thread Anna Schumaker
From: Zach Brown This rearranges the existing COPY_RANGE ioctl implementation so that the .copy_file_range file operation can call the core loop that copies file data extent items. The extent copying loop is lifted up into its own function. It retains the core btrfs error

Re: [PATCH v1 3/8] btrfs: add .copy_file_range file operation

2015-09-04 Thread Josef Bacik
On 09/04/2015 04:16 PM, Anna Schumaker wrote: From: Zach Brown This rearranges the existing COPY_RANGE ioctl implementation so that the .copy_file_range file operation can call the core loop that copies file data extent items. The extent copying loop is lifted up into its own