Message ID | 20181019152905.32418-1-olga.kornievskaia@gmail.com (mailing list archive) |
---|---|
Headers | show |
Series | server-side support for "inter" SSC copy | expand |
On Fri, Oct 19, 2018 at 11:28:52AM -0400, Olga Kornievskaia wrote: > This patch series adds support for NFSv4.2 copy offload feature > allowing copy between two different NFS servers. Apologies, it may take me another week or so to get to this.... This is the part that sounds trickiest!: > On the destination server, upon receiving a COPY request, the server > establishes the necessary clientid/session with the source server. > It calls into the NFS client code to establish the necessary > open stateid, filehandle, file description (without doing an NFS open). > Then the server calls into the copy_file_range() to preform the copy > where the source file will issue NFS READs and then do local file > system writes (this depends on the VFS ability to do cross device > copy_file_range(). --b.
On Thu, Oct 25, 2018 at 12:08 PM J. Bruce Fields <bfields@fieldses.org> wrote: > > On Fri, Oct 19, 2018 at 11:28:52AM -0400, Olga Kornievskaia wrote: > > This patch series adds support for NFSv4.2 copy offload feature > > allowing copy between two different NFS servers. > > Apologies, it may take me another week or so to get to this.... > > This is the part that sounds trickiest!: I'll look for your comments next week. Please note that client side patches that NFSD depends on have changed (due to the client side review) so to run/compile the code, please grab all of the latest client-side patches that I posted. I'm assuming that async patches are going into 4.20, correct? > > > On the destination server, upon receiving a COPY request, the server > > establishes the necessary clientid/session with the source server. > > It calls into the NFS client code to establish the necessary > > open stateid, filehandle, file description (without doing an NFS open). > > Then the server calls into the copy_file_range() to preform the copy > > where the source file will issue NFS READs and then do local file > > system writes (this depends on the VFS ability to do cross device > > copy_file_range(). > > --b.
On Mon, Oct 29, 2018 at 01:54:37PM -0400, Olga Kornievskaia wrote: > On Thu, Oct 25, 2018 at 12:08 PM J. Bruce Fields <bfields@fieldses.org> wrote: > > > > On Fri, Oct 19, 2018 at 11:28:52AM -0400, Olga Kornievskaia wrote: > > > This patch series adds support for NFSv4.2 copy offload feature > > > allowing copy between two different NFS servers. > > > > Apologies, it may take me another week or so to get to this.... > > > > This is the part that sounds trickiest!: > > I'll look for your comments next week. Please note that client side > patches that NFSD depends on have changed (due to the client side > review) so to run/compile the code, please grab all of the latest > client-side patches that I posted. OK, thanks. > I'm assuming that async patches are going into 4.20, correct? Yes. --b.