]> Cypherpunks repositories - gostls13.git/commit
Revert "os: employ sendfile(2) for file-to-file copying on Linux when needed"
authorMichael Pratt <mpratt@google.com>
Mon, 27 Jan 2025 22:05:22 +0000 (14:05 -0800)
committerGopher Robot <gobot@golang.org>
Wed, 29 Jan 2025 14:29:28 +0000 (06:29 -0800)
commit1f58ad5d6d2eebc1939a65a511ca84c9b997cd6a
tree4445aa22d65de5dd116f24b0f9a474b2ca6e676b
parent90ec9996cb6e7ea98ffeab1b6e28037d79e81026
Revert "os: employ sendfile(2) for file-to-file copying on Linux when needed"

This reverts CL 603295.

Reason for revert: can cause child exit_group to hang.

This is not a clean revert. CL 603098 did a major refactoring of the
tests. That refactor is kept, just the sendfile-specific tests are
dropped from the linux tests.

Fixes #71375.

Change-Id: Ic4d6535759667c69a44bd9281bbb33d5b559f591
Reviewed-on: https://go-review.googlesource.com/c/go/+/644895
Auto-Submit: Michael Pratt <mpratt@google.com>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Reviewed-by: Ian Lance Taylor <iant@golang.org>
Reviewed-by: Cherry Mui <cherryyz@google.com>
Reviewed-by: Andy Pan <panjf2000@gmail.com>
src/os/readfrom_linux_test.go
src/os/readfrom_sendfile_test.go
src/os/zero_copy_linux.go