diff options
author | Ian Lance Taylor <iant@golang.org> | 2020-08-18 16:46:24 -0700 |
---|---|---|
committer | Ian Lance Taylor <iant@golang.org> | 2020-08-19 21:49:56 +0000 |
commit | 6b420169d798c7ebe733487b56ea5c3fa4aab5ce (patch) | |
tree | 9f9e791d75c363b7f25529b1f408d50e8e03274d /src/runtime/trace | |
parent | 18239be10a0b5caa1b3222b228ff590b1c036382 (diff) | |
download | go-6b420169d798c7ebe733487b56ea5c3fa4aab5ce.tar.gz go-6b420169d798c7ebe733487b56ea5c3fa4aab5ce.zip |
os, internal/poll: loop on EINTR for all file syscalls
When using a FUSE file system, any system call that touches the file
system can return EINTR.
Fixes #40846
Change-Id: I25d32da22cec08dea81ab297291a85ad72db2df7
Reviewed-on: https://go-review.googlesource.com/c/go/+/249178
Run-TryBot: Ian Lance Taylor <iant@golang.org>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Bryan C. Mills <bcmills@google.com>
Diffstat (limited to 'src/runtime/trace')
-rw-r--r-- | src/runtime/trace/trace_stack_test.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/runtime/trace/trace_stack_test.go b/src/runtime/trace/trace_stack_test.go index cfc0419b72..be3adc9801 100644 --- a/src/runtime/trace/trace_stack_test.go +++ b/src/runtime/trace/trace_stack_test.go @@ -252,7 +252,7 @@ func TestTraceSymbolize(t *testing.T) { {trace.EvGoSysCall, []frame{ {"syscall.read", 0}, {"syscall.Read", 0}, - {"internal/poll.ignoringEINTR", 0}, + {"internal/poll.ignoringEINTRIO", 0}, {"internal/poll.(*FD).Read", 0}, {"os.(*File).read", 0}, {"os.(*File).Read", 0}, |