Re: [PATCH v2 1/9] vfs: add copy_file_range syscall and vfs helper

2015-09-22 Thread Anna Schumaker
On 09/22/2015 07:44 AM, David Sterba wrote: > On Fri, Sep 11, 2015 at 04:30:14PM -0400, Anna Schumaker wrote: >> From: Zach Brown >> +/* >> + * copy_file_range() differs from regular file read and write in that it >> + * specifically allows return partial success. When it does

Re: [PATCH v2 1/9] vfs: add copy_file_range syscall and vfs helper

2015-09-22 Thread David Sterba
On Fri, Sep 11, 2015 at 04:30:14PM -0400, Anna Schumaker wrote: > From: Zach Brown > +/* > + * copy_file_range() differs from regular file read and write in that it > + * specifically allows return partial success. When it does so is up to > + * the copy_file_range method. > +

[PATCH v2 1/9] vfs: add copy_file_range syscall and vfs helper

2015-09-11 Thread Anna Schumaker
From: Zach Brown Add a copy_file_range() system call for offloading copies between regular files. This gives an interface to underlying layers of the storage stack which can copy without reading and writing all the data. There are a few candidates that should support copy