[Ocfs2-devel] [PATCH 08/15] vfs: change clone and dedupe range function pointers to return bytes completed
Christoph Hellwig
hch at infradead.org
Sat Oct 6 03:41:34 PDT 2018
On Thu, Oct 04, 2018 at 05:45:35PM -0700, Darrick J. Wong wrote:
> From: Darrick J. Wong <darrick.wong at oracle.com>
>
> Change the clone_file_range and dedupe_file_range functions to return
> the number of bytes they operated on. This is the precursor to allowing
> fs implementations to return short clone/dedupe results to the user,
> which will enable us to obey resource limits in a graceful manner.
For clone this doesn't make any sense, as we don't allow 'short clones'.
More information about the Ocfs2-devel
mailing list