Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

daemon/graphdriver/copy: use IoctlFileClone from golang.org/x/sys/unix #41482

Merged
merged 2 commits into from Sep 26, 2020

Conversation

tklauser
Copy link
Contributor

Vendor the latest version of golang.org/x/sys/unix (full diff: golang/sys@196b9ba...aee5d88) to get unix.IoctlClone and use it in copyRegular. This allows to drop the cgo-based implementation.

full diff: golang/sys@196b9ba...aee5d88

Signed-off-by: Tobias Klauser <tklauser@distanz.ch>
This allows to drop the cgo implementation.

Signed-off-by: Tobias Klauser <tklauser@distanz.ch>
@thaJeztah
Copy link
Member

Thanks!!

@tonistiigi @cpuguy83 ptal

@thaJeztah thaJeztah added kind/refactor PR's that refactor, or clean-up code status/2-code-review labels Sep 23, 2020
Copy link
Member

@thaJeztah thaJeztah left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

Copy link
Member

@cpuguy83 cpuguy83 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@cpuguy83 cpuguy83 merged commit 2617742 into moby:master Sep 26, 2020
@tklauser tklauser deleted the unix-fileclone branch September 26, 2020 08:19
@thaJeztah thaJeztah added this to the 20.03.0 milestone Sep 29, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/refactor PR's that refactor, or clean-up code status/2-code-review
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants