All of lore.kernel.org
 help / color / mirror / Atom feed
From: Joel Becker <jlbec@evilplan.org>
To: Ric Wheeler <ricwheeler@gmail.com>
Cc: Al Viro <viro@ZenIV.linux.org.uk>,
	"linux-scsi@vger.kernel.org" <linux-scsi@vger.kernel.org>,
	linux-fsdevel <linux-fsdevel@vger.kernel.org>,
	Hannes Reinecke <hare@suse.de>,
	Andrew Morton <akpm@linux-foundation.org>,
	linux-nfs@vger.kernel.org,
	James Bottomley <James.Bottomley@HansenPartnership.com>
Subject: Re: copy offload support in Linux - new system call needed?
Date: Fri, 16 Dec 2011 00:00:23 -0800	[thread overview]
Message-ID: <20111216080022.GA5183@noexit.corp.google.com> (raw)
In-Reply-To: <4EE8FC2E.3010207@gmail.com>

On Wed, Dec 14, 2011 at 02:42:38PM -0500, Ric Wheeler wrote:
> On 12/14/2011 02:27 PM, Al Viro wrote:
> >On Wed, Dec 14, 2011 at 02:22:07PM -0500, Ric Wheeler wrote:
> >
> >>We had an active thread a couple of years back that came out of the
> >>reflink work and, at the time, there seemed to be moderately
> >>positive support for adding a new system call that would fit this
> >>use case (Joel Becker's copyfile()).
> >>
> >>Can we resurrect this effort? Is copyfile() still a good way to go,
> >>or should we look at other hooks?
> >copyfile(2) is probably a good way to go, provided that we do _not_
> >go baroque as it had happened the last time syscall had been discussed.
> >
> >IOW, to hell with progress reports, etc. - just a fastpath kind of
> >thing, in the same kind of relationship to cp(1) as rename(2) is to mv(1).
> >If it works - fine, if not - caller has to be ready to deal with handling
> >cross-device case anyway.
> 
> I think that this approach makes a lot of sense. Most of the
> devices/targets that support the copy offload, will do it in very
> reasonable amounts of time.
> 
> Let me see if I can dig up some of the presentations from the NetApp
> guys who presented overviews or the specifications from the IETF and
> T10....

	Whee!  I've been down the rabbit hole, but I've promised myself
to get the updated patch out soon.  I know that Trond et al are probably
wondering what happened to the patch.  more soon.

Joel

-- 

Life's Little Instruction Book #207

	"Swing for the fence."

			http://www.jlbec.org/
			jlbec@evilplan.org

  parent reply	other threads:[~2011-12-16  8:00 UTC|newest]

Thread overview: 51+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-12-14 19:22 copy offload support in Linux - new system call needed? Ric Wheeler
2011-12-14 19:22 ` Ric Wheeler
2011-12-14 19:27 ` Al Viro
2011-12-14 19:42   ` Ric Wheeler
2011-12-14 19:42     ` Ric Wheeler
2011-12-14 22:27     ` J. Bruce Fields
2011-12-14 22:27       ` J. Bruce Fields
2011-12-15 14:59       ` Trond Myklebust
2011-12-15 15:52         ` Chris Mason
2011-12-15 16:00           ` Trond Myklebust
2011-12-15 16:00             ` Trond Myklebust
2011-12-15 16:03           ` Jeff Layton
2011-12-15 16:03             ` Jeff Layton
2011-12-15 16:06             ` Trond Myklebust
2011-12-15 16:06               ` Trond Myklebust
2011-12-15 16:16               ` Jeff Layton
2011-12-15 16:16                 ` Jeff Layton
2011-12-15 16:38                 ` Trond Myklebust
2011-12-15 16:08         ` Loke, Chetan
2011-12-15 16:08           ` Loke, Chetan
2011-12-15 16:08           ` Loke, Chetan
2011-12-15 16:11           ` Trond Myklebust
2011-12-15 16:11             ` Trond Myklebust
2011-12-15 16:40             ` Loke, Chetan
2011-12-15 16:40               ` Loke, Chetan
2011-12-15 16:40               ` Loke, Chetan
2011-12-15 16:53               ` Trond Myklebust
2011-12-15 17:18                 ` Ric Wheeler
2011-12-15 17:18                   ` Ric Wheeler
2011-12-15 17:25                   ` Trond Myklebust
2011-12-15 17:31                   ` Loke, Chetan
2011-12-15 17:31                     ` Loke, Chetan
2011-12-15 17:31                     ` Loke, Chetan
2011-12-15 17:55                     ` Ric Wheeler
2011-12-15 17:27                 ` Loke, Chetan
2011-12-15 17:27                   ` Loke, Chetan
2011-12-15 17:27                   ` Loke, Chetan
2011-12-15 17:44         ` J. Bruce Fields
2011-12-15 17:44           ` J. Bruce Fields
2011-12-16  8:00     ` Joel Becker [this message]
2011-12-14 19:59 ` Jeremy Allison
2011-12-14 20:30   ` Ric Wheeler
2011-12-14 20:30     ` Ric Wheeler
2011-12-19 12:38     ` Hannes Reinecke
2011-12-19 12:38       ` Hannes Reinecke
2011-12-19 22:19   ` H. Peter Anvin
2011-12-19 22:19     ` H. Peter Anvin
2011-12-19 22:34     ` Jeremy Allison
2011-12-19 22:57     ` Dave Chinner
2011-12-19 23:29       ` H. Peter Anvin
2011-12-19 23:29         ` H. Peter Anvin

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=20111216080022.GA5183@noexit.corp.google.com \
    --to=jlbec@evilplan.org \
    --cc=James.Bottomley@HansenPartnership.com \
    --cc=akpm@linux-foundation.org \
    --cc=hare@suse.de \
    --cc=linux-fsdevel@vger.kernel.org \
    --cc=linux-nfs@vger.kernel.org \
    --cc=linux-scsi@vger.kernel.org \
    --cc=ricwheeler@gmail.com \
    --cc=viro@ZenIV.linux.org.uk \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.