Return-Path: Received: from mx1.redhat.com ([209.132.183.28]:34594 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753664AbeDQNln (ORCPT ); Tue, 17 Apr 2018 09:41:43 -0400 Date: Tue, 17 Apr 2018 09:41:41 -0400 From: "J. Bruce Fields" To: Olga Kornievskaia Cc: Christoph Hellwig , Olga Kornievskaia , linux-nfs Subject: Re: [PATCH v8 0/9] NFSD support for async COPY Message-ID: <20180417134141.GB10291@parsley.fieldses.org> References: <20180413170158.17589-1-kolga@netapp.com> <20180414072202.GA6514@infradead.org> <20180416214522.GC2634@parsley.fieldses.org> <20180417065203.GA15145@infradead.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii In-Reply-To: Sender: linux-nfs-owner@vger.kernel.org List-ID: On Tue, Apr 17, 2018 at 09:22:01AM -0400, Olga Kornievskaia wrote: > On Tue, Apr 17, 2018 at 2:52 AM, Christoph Hellwig wrote: > > On Mon, Apr 16, 2018 at 05:45:22PM -0400, J. Bruce Fields wrote: > >> On Sat, Apr 14, 2018 at 12:22:02AM -0700, Christoph Hellwig wrote: > >> > What is the use case for adding all these crazy complications? > >> > >> Is there anything specific that you think is too complicated? > > > > It is a lot of complexity for little gain. > > > >> I know you don't think server-to-server copy offload is worth the > >> trouble, but I haven't seen you actually explain why (beyond just that > >> it's more complicated). > > > > I'd like to see numbers for actual, real use cases. Note that this > > series doesn't seem to include inter-server support, so this is locally > > only, and I'd like to see why we want to support this over the simpler > > and better performing CLONE op. > > > > Also even if we have a good reason to add it I absolutely want a config > > option for the feature - it is a lot code adding potential attack > > vectors, so we should not just enabled it by default. > > > >> Is there some reason you think it won't actually be useful? > > > > Lets start with explaining why it would actually be useful and benefit > > Linux users. > > This is performance improvement feature. Why do you keep asking about > benefits? Besides my employer I had other companies chime in on this > mailing list that they are interested in the copy offload feature > therefore this work is being done. Christoph said: "I'd like to see numbers for actual, real use cases." Yes, I'd love to see that too. Is it possible to get testing on real hardware that we'd expect people to use, with sufficient details about the setup that someone else could reproduce the results? > Yes this series only introduced asynchronous copy offload because the > concern was that doing "inter"+asynchronous was too much to review and > therefore it is being done in parts. > > I have no objections to having a configuration option for this > feature. It would be up to the Linux distributions to "make is a > default". Bruce/Anna/Trond, do you want this code to be ifdef-ed under > a config option(s) (one for the client and one for the server)? I could live with that. --b.