From: "J. Bruce Fields" <bfields@fieldses.org>
To: Steve Dickson <steved@redhat.com>
Cc: Linux NFS Mailing list <linux-nfs@vger.kernel.org>
Subject: Re: [PATCH 0/1] Enable inter server to server copies on a export
Date: Fri, 29 Oct 2021 10:26:39 -0400 [thread overview]
Message-ID: <20211029142639.GC19967@fieldses.org> (raw)
In-Reply-To: <20211029134534.GA19967@fieldses.org>
On Fri, Oct 29, 2021 at 09:45:34AM -0400, bfields wrote:
> On Thu, Oct 28, 2021 at 10:48:50AM -0400, Steve Dickson wrote:
> > This kernel patch and an upcoming nfs-utils patch
> > adds a new export option 's2sc' which will allow
> > inter server to server copies.
>
> They're already allowed by a module option. Why is an export option
> better? And why should it be set on the destination server and not the
> source server?
>
> Really, first I think we should try to identify what the problem is that
> we're trying to solve.
I guess we're thinking: we expect server-to-server copy to be a win in
some cases, but not others.
What would those cases look like?
Say you've got a client "C" and two servers, "S" and "T", and C is
copying a file from S to T.
I'd expect bandwidth of the traditional read-write-loop copy to be the
minimum of the network bandwidth between S and C, and the network
bandwidth between C and T. Are there common cases were the S-to-T
bandwidth would be significantly less than both of those?
My guess would've been that that's relatively unusual. So as a first
pass, just turning on COPY unconditionally doesn't seem so bad.
I know you're thinking about in cases where S and T are connected by a
high-performance network not necessarily available to C.
In that case, we know we want to use server-to-server copy for copies
between S and T. But is it necessarily a problem to also use it for
copies between some other server and T? Also, does knowing the export
containing the destination file on T really tell you whether or not the
copy will be coming from S and not from some other server?
I'd think the bigger issue in that case is figuring out how to configure
S so that it returns the right IP address in the cnr_source_server field
of the COPY_NOTIFY reply. Currently we return address that the client
sent the COPY_NOTIFY, and I don't know if that's correct for that case.
--b.
next prev parent reply other threads:[~2021-10-29 14:26 UTC|newest]
Thread overview: 23+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-10-28 14:48 [PATCH 0/1] Enable inter server to server copies on a export Steve Dickson
2021-10-28 14:48 ` [PATCH 1/1] nfsd4_copy: Adds the ability to do inter server to server on an export Steve Dickson
2021-10-29 13:45 ` [PATCH 0/1] Enable inter server to server copies on a export J. Bruce Fields
2021-10-29 14:26 ` J. Bruce Fields [this message]
2021-10-29 15:24 ` Steve Dickson
2021-10-29 14:56 ` Steve Dickson
2021-10-29 16:40 ` J. Bruce Fields
2021-10-29 17:30 ` Steve Dickson
2021-10-29 19:14 ` J. Bruce Fields
2021-11-01 15:30 ` Steve Dickson
2021-11-01 15:40 ` J. Bruce Fields
2021-11-01 16:55 ` Chuck Lever III
2021-11-01 18:24 ` Steve Dickson
2021-11-01 18:39 ` Bruce Fields
2021-11-01 18:44 ` Chuck Lever III
2021-11-01 19:10 ` Steve Dickson
2021-11-01 19:26 ` Bruce Fields
2021-11-01 20:28 ` Steve Dickson
2021-11-01 19:02 ` Steve Dickson
2021-11-01 19:22 ` dai.ngo
2021-11-01 19:25 ` J. Bruce Fields
2021-11-01 20:25 ` Steve Dickson
-- strict thread matches above, loose matches on Subject: below --
2021-10-28 14:59 Steve Dickson
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=20211029142639.GC19967@fieldses.org \
--to=bfields@fieldses.org \
--cc=linux-nfs@vger.kernel.org \
--cc=steved@redhat.com \
/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