Skip to content

os: copy_file_range system call fails on some file systems [1.15 backport] #44273

@gopherbot

Description

@gopherbot

@ianlancetaylor requested issue #44272 to be considered for backport to the next 1.15 minor release.

@gopherbot Please open backport to Go 1.15.

This bug can cause file corruption when using io.Copy with files on certain file systems. There is no reasonable workaround other than avoiding io.Copy.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions