Skip to content

[beta] limit chunk size for copy_file_range to 1GB per iteration #79007

New issue

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

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

Already on GitHub? # to your account

Closed
wants to merge 1 commit into from

Conversation

the8472
Copy link
Member

@the8472 the8472 commented Nov 12, 2020

This will hopefully avoid EOVERFLOW errors on mipsel-unknown-linux-gnu
But the error will remain unhandled if it still occurs. Proper handling is left to a future change.

I'm not entirely sure if it'll fix the issue, for a certain alternative see #79008

Resolves #78979

This will hopefully avoid EOVERFLOW errors on mipsel-unknown-linux-gnu
But the error will remain unhandled if it still occurs. Proper handling
is left to a future change.
@rust-highfive
Copy link
Contributor

r? @Mark-Simulacrum

(rust_highfive has picked a reviewer for you, use r? to override)

@rust-highfive
Copy link
Contributor

⚠️ Warning ⚠️

  • Pull requests are usually filed against the master branch for this repo, but this one is against beta. Please double check that you specified the right target!

@rust-highfive rust-highfive added the S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. label Nov 12, 2020
@Mark-Simulacrum
Copy link
Member

Going to close in favor of #79008, which I have now r+'d.

bors added a commit to rust-lang-ci/rust that referenced this pull request Nov 15, 2020
[beta] always disable copy_file_range to avoid EOVERFLOW errors

A bigger hammer as alternative to rust-lang#79007

Pro: will certainly fix the issue
Cons: will disable copy_file_range for everyone

Resolves rust-lang#78979
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
S-waiting-on-review Status: Awaiting review from the assignee but also interested parties.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants