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

Florian Weimer fweimer at openjdk.org
Tue Aug 30 15:26:16 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 pull request has now been integrated.

Changeset: 343333ab
Author:    Florian Weimer <fweimer at openjdk.org>
Committer: Alan Bateman <alanb at openjdk.org>
URL:       https://git.openjdk.org/jdk/commit/343333abcf2a3af1d6dbf48e406cb3efc73b9bf6
Stats:     3 lines in 1 file changed: 3 ins; 0 del; 0 mod

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

Reviewed-by: stuefe, alanb, bpb

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

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


More information about the nio-dev mailing list