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

Make setting the file priority early #7733

Closed
wants to merge 1 commit into from

Conversation

HanabishiRecca
Copy link
Contributor

@HanabishiRecca HanabishiRecca commented Sep 14, 2024

src/mmap_storage.cpp Outdated Show resolved Hide resolved
@arvidn
Copy link
Owner

arvidn commented Sep 29, 2024

nice catch!

* Fix file preallocation after priority change from `dont_download`.
* Ensure priority consistency to avoid such bugs in the future.
@HanabishiRecca HanabishiRecca changed the title Fix file preallocation after priority change from dont_download Make setting the file priority early Sep 29, 2024
@arvidn
Copy link
Owner

arvidn commented Sep 29, 2024

I modified your patch here: #7738

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

File preallocation does not work after its priority is changed from "do not download"
2 participants