linux-nfs.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: "J. Bruce Fields" <bfields@redhat.com>
To: Olga Kornievskaia <aglo@umich.edu>
Cc: Olga Kornievskaia <kolga@netapp.com>,
	Steve Dickson <SteveD@redhat.com>,
	linux-nfs <linux-nfs@vger.kernel.org>
Subject: Re: [PATCH v8 0/9] NFSD support for async COPY
Date: Tue, 22 May 2018 18:01:33 -0400	[thread overview]
Message-ID: <20180522220132.GC32265@parsley.fieldses.org> (raw)
In-Reply-To: <CAN-5tyESMQC6A4wV6Xi7Y-ScDn-eNNa0szqjbjHrQgswje_TmA@mail.gmail.com>

On Tue, May 22, 2018 at 05:05:10PM -0400, Olga Kornievskaia wrote:
> On Fri, Apr 27, 2018 at 7:11 PM, Olga Kornievskaia <aglo@umich.edu> wrote:
> > On Fri, Apr 27, 2018 at 12:03 PM, J. Bruce Fields <bfields@redhat.com> wrote:
> >> On Tue, Apr 24, 2018 at 04:29:14PM -0400, Olga Kornievskaia wrote:
> >>> On Wed, Apr 18, 2018 at 3:08 AM, Christoph Hellwig <hch@infradead.org> wrote:
> >>> > On Tue, Apr 17, 2018 at 11:19:25AM -0400, Olga Kornievskaia wrote:
> >>> >> Yes I agree. Let’s please decide if this will go in (with whatever code improvements are required) or let’s drop it.
> >>> >
> >>> > Well, my vote is very clearly to drop it.
> >>>
> >>> Bruce, when will you make a decision about this? Is there something
> >>> more that needs to happen before it can be decided if the "async"
> >>> patches are moving forward (and then "inter" patches).
> >>
> >> I'm OK with the patches.
> >>
> >> It could help to have some more information about actual customer use
> >> cases: who specifically is asking for this, and what about their
> >> situation makes them believe they'll benefit?
> >
> > I'm really not involved with customer or know of how exactly they will
> > benefit. I have some knowledge of some company that is interested in
> > using copy offload functionality in game development. I have no
> > details. It has been talked about a case scenario of copying VM
> > images. I don't know if VMware uses copy offload or not.
> >
> >> But to me it seems obvious that server-to-server copy will be faster in
> >> some cases as long there's not some screwup preventing it from using the
> >> server-to-server bandwidth (and your numbers don't show any).  So I'm
> >> not terribly worried about this.
> >>
> >> If we wanted to simplify I think we could ditch the asynchronous
> >> protocol and still make server-to-server copy work as a series of
> >> synchronous calls.  (Or maybe that would make getting good performance
> >> the complicated part.)
> >
> > I'm not in favor of dropping asynchronous piece as I think it's an
> > important performance improvement. It's likely it won't be must of an
> > improvement due to an overhead of establishing clientid/session for
> > every "chuck" of the copy that will be sent synchronously.
> >
> >> The only security issue I'm worried about is the fact that you can make
> >> it try to copy from any arbitrary IP address.  I'd be satisfied if we
> >> document the issue and make server-to-server-copy support require a
> >> runtime switch that defaults to off.  (And with that in place I don't
> >> see a need to also provide a build option.)
> >
> > Ok, runtime option, I'll work on it.
> 
> Hi Bruce,
> 
> I would like to come back to this code and hopefully make progress.
> 
> I heard about the LSF discussion that there was interest in the copy
> offload and async code. If so where do we stand now and what are the
> next steps now?

I actually don't remember that discussion, apologies.

Next steps might be for you to add the runtime option and resend?  And
then I need to give it another read.

--b.

  reply	other threads:[~2018-05-22 22:01 UTC|newest]

Thread overview: 42+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-04-13 17:01 [PATCH v8 0/9] NFSD support for async COPY Olga Kornievskaia
2018-04-13 17:01 ` [PATCH v8 1/9] NFSD CB_OFFLOAD xdr Olga Kornievskaia
2018-04-13 17:01 ` [PATCH v8 2/9] NFSD OFFLOAD_STATUS xdr Olga Kornievskaia
2018-04-13 17:01 ` [PATCH v8 3/9] NFSD OFFLOAD_CANCEL xdr Olga Kornievskaia
2018-04-13 17:01 ` [PATCH v8 4/9] NFSD xdr callback stateid in async COPY reply Olga Kornievskaia
2018-04-13 17:01 ` [PATCH v8 5/9] NFSD introduce async copy feature Olga Kornievskaia
2018-04-13 17:01 ` [PATCH v8 6/9] NFSD create new stateid for async copy Olga Kornievskaia
2018-04-13 17:01 ` [PATCH v8 7/9] NFSD handle OFFLOAD_CANCEL op Olga Kornievskaia
2018-04-17 18:06   ` Anna Schumaker
2018-04-17 18:08     ` Olga Kornievskaia
2018-04-17 18:10     ` Olga Kornievskaia
2018-04-13 17:01 ` [PATCH v8 8/9] NFSD support OFFLOAD_STATUS Olga Kornievskaia
2018-04-13 17:01 ` [PATCH v8 9/9] NFSD stop ongoing async copies on client shutdown Olga Kornievskaia
2018-04-14  7:22 ` [PATCH v8 0/9] NFSD support for async COPY Christoph Hellwig
2018-04-14 12:32   ` Olga Kornievskaia
2018-04-18  7:05     ` Christoph Hellwig
2018-04-16 21:45   ` J. Bruce Fields
2018-04-17  6:52     ` Christoph Hellwig
2018-04-17 13:22       ` Olga Kornievskaia
2018-04-17 13:41         ` J. Bruce Fields
2018-04-17 13:45           ` Olga Kornievskaia
     [not found]           ` <FE7DF381-A335-4827-94AB-1DEBF5FCEB05@netapp.com>
2018-04-17 13:57             ` J. Bruce Fields
2018-04-17 14:04               ` J. Bruce Fields
2018-04-17 14:08               ` Olga Kornievskaia
2018-04-17 14:13                 ` Olga Kornievskaia
2018-04-17 14:50                   ` Anna Schumaker
2018-04-17 14:41         ` Steve Dickson
     [not found]           ` <1E0C45FE-2214-41FB-8634-1005CC13AD9E@netapp.com>
2018-04-18  7:08             ` Christoph Hellwig
2018-04-24 20:29               ` Olga Kornievskaia
2018-04-27 16:03                 ` J. Bruce Fields
2018-04-27 23:11                   ` Olga Kornievskaia
2018-05-22 21:05                     ` Olga Kornievskaia
2018-05-22 22:01                       ` J. Bruce Fields [this message]
2018-04-17 13:42       ` J. Bruce Fields
2018-04-17 15:00       ` J. Bruce Fields
2018-04-17 15:17         ` Olga Kornievskaia
2018-04-17 15:41           ` J. Bruce Fields
2018-04-17 15:58             ` J. Bruce Fields
2018-04-17 17:41               ` J. Bruce Fields
2018-04-17 16:15             ` Olga Kornievskaia
2018-04-17 17:39               ` J. Bruce Fields
2018-04-18  7:07     ` Christoph Hellwig

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20180522220132.GC32265@parsley.fieldses.org \
    --to=bfields@redhat.com \
    --cc=SteveD@redhat.com \
    --cc=aglo@umich.edu \
    --cc=kolga@netapp.com \
    --cc=linux-nfs@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).