[Ocfs2-devel] copyfile semantics.

Jamie Lokier jamie at shareable.org
Tue May 5 15:06:58 PDT 2009


Andreas Dilger wrote:
> If it is possible to use splice() to copy between two regular files then
> that is great.  Does anything (e.g. cp) actually use this yet?

It's mentioned earlier in this thread that BTRFS has an ioctl() for
copying parts of files into other files, and will share the data
between both files.

With a bit of plumbing, splice() could probably be persuaded to call
the mechanism which BTRFS provides.

-- Jamie



More information about the Ocfs2-devel mailing list