copy_file_range is now a Linux kernel call - Mailing list pgsql-hackers

From Tom Lane
Subject copy_file_range is now a Linux kernel call
Date
Msg-id 31122.1514951044@sss.pgh.pa.us
Whole thread Raw
Responses Re: copy_file_range is now a Linux kernel call
List pgsql-hackers
Buildfarm member caiman just came back online after some time AWOL, and
it's not happy.  The problem evidently is that pg_rewind's copy_file_range
function conflicts with a recently added Linux system call:

http://man7.org/linux/man-pages/man2/copy_file_range.2.html

Looks like we'd better rename our function.  Anybody have an idea
more creative than "pg_copy_file_range"?

(At some point somebody might want to think about fixing this function
so it can make use of the kernel call when available.  But that's more
work than I care to do right now, and certainly more change than I'd want
to back-patch.)

            regards, tom lane


pgsql-hackers by date:

Previous
From: Peter Geoghegan
Date:
Subject: Re: [HACKERS] Parallel tuplesort (for parallel B-Tree index creation)
Next
From: Andres Freund
Date:
Subject: Re: copy_file_range is now a Linux kernel call