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

From Andres Freund
Subject Re: copy_file_range is now a Linux kernel call
Date
Msg-id 20180103041426.yfw5c7a5ydxsllbs@alap3.anarazel.de
Whole thread Raw
In response to Re: copy_file_range is now a Linux kernel call  (Tom Lane <tgl@sss.pgh.pa.us>)
Responses Re: copy_file_range is now a Linux kernel call
List pgsql-hackers
Hi,

On 2018-01-02 23:08:05 -0500, Tom Lane wrote:
> Andres Freund <andres@anarazel.de> writes:
> > On 2018-01-02 22:44:04 -0500, Tom Lane wrote:
> > something like rwnd_copy_file_range or such.

> Bleah --- "rwnd" is unpronounceable and not an abbreviation we're
> currently using anywhere.  If we go that way, let's brave carpal tunnel
> syndrome by calling it "rewind_copy_file_range".  But I'm not that
> happy with any of these.

rewind_copy_file_range works for me.


> Filipe Rosset pointed out to me off-list that we're not the only
> ones feeling the pain:
> 
> https://sourceforge.net/p/e2fsprogs/code/ci/01551bdba16ab16512a01affe02ade32c41ede8a
> 
> Maybe go with copy_file_chunk like e2fsprogs did?

-0.2 - don't think it hurts to signal this isn't a general function.

Greetings,

Andres Freund


pgsql-hackers by date:

Previous
From: Amit Kapila
Date:
Subject: Re: Observations in Parallel Append
Next
From: Bruce Momjian
Date:
Subject: Re: Copyright update