Re: [RFC PATCH 1/4] splice: Fix corruption of spliced data after splice() returns
From: David Howells
Date: Mon Jul 24 2023 - 05:45:23 EST
Linus Torvalds <torvalds@xxxxxxxxxxxxxxxxxxxx> wrote:
> > So what's the API that provides the semantics of _copying_?
>
> It's called "read()" and "write()".
What about copy_file_range()? That seems to fall back to splicing if not
directly implemented by the filesystem. It looks like the manpage for that
needs updating too - or should that actually copy?
David