[Pdbg] [PATCH 3/6] htm: Use splice() to copy dump

Michael Neuling mikey at neuling.org
Thu Jul 5 17:48:12 AEST 2018


On Wed, 2018-07-04 at 14:18 +1000, Amitay Isaacs wrote:
> On Tue, 2018-07-03 at 16:58 +1000, Michael Neuling wrote:
> > Gives 10% speedup for no more complexity.
> 
> How about copy_file_range()?

Nice but it doesn't work since the FDs are on different filesystems (debugfs vs
real disk)

The man page confirms this:

ERRORS:
....
       EXDEV  The files referred to by file_in and file_out  are  not  on  the
  
           same mounted filesystem.

Mikey


More information about the Pdbg mailing list