summaryrefslogtreecommitdiff
path: root/integrationtests/cmd
diff options
context:
space:
mode:
authorPaul Buetow <paul@buetow.org>2026-02-22 23:00:03 +0200
committerPaul Buetow <paul@buetow.org>2026-02-22 23:00:03 +0200
commit1666ba49ef9e5b61e14d1a32d2f6e2380064105e (patch)
tree182b5e7b8e3464fefac256c22118312388c41bc9 /integrationtests/cmd
parent86a96020fb63cf15ee6d20ec3058a462b5cacd7e (diff)
Fix event comm attribution and reduce integration log noise
Diffstat (limited to 'integrationtests/cmd')
-rw-r--r--integrationtests/cmd/ioworkload/scenario_copy_file_range.go3
1 files changed, 3 insertions, 0 deletions
diff --git a/integrationtests/cmd/ioworkload/scenario_copy_file_range.go b/integrationtests/cmd/ioworkload/scenario_copy_file_range.go
index 87531b0..ce0524e 100644
--- a/integrationtests/cmd/ioworkload/scenario_copy_file_range.go
+++ b/integrationtests/cmd/ioworkload/scenario_copy_file_range.go
@@ -37,6 +37,9 @@ func copyFileRangeBasic() error {
if _, err := syscall.Write(srcFd, data); err != nil {
return fmt.Errorf("write source: %w", err)
}
+ if _, err := syscall.Seek(srcFd, 0, 0); err != nil {
+ return fmt.Errorf("seek source: %w", err)
+ }
n, _, errno := syscall.Syscall6(uintptr(sysCopyFileRange), uintptr(srcFd), 0, uintptr(dstFd), 0, uintptr(len(data)), 0)
if errno != 0 {