RFR: 8293004: (fs) FileChannel.transferXXX use of copy_file_range needs fallback handling for ENOSYS

Alan Bateman alanb at openjdk.org
Sat Aug 27 16:11:22 UTC 2022


On Sat, 27 Aug 2022 10:12:08 GMT, Florian Weimer <fweimer at openjdk.org> wrote:

> Now that the userspace emulation is not leveraged anymore, it would be possible to issue the system call directly for all glibc versions, but it's probably best not to start using `copy_file_range` where it hasn't been used before (the el7 kernel has a strange backport, if I recall correctly).

This looks okay.

-------------

Marked as reviewed by alanb (Reviewer).

PR: https://git.openjdk.org/jdk/pull/10055


More information about the nio-dev mailing list