Skip to content

[CAS] sync memory mapped file when closing CAS #10625

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

Merged

Conversation

cachemeifyoucan
Copy link

To avoid unnecessary data lost due to power lost immediately after the build, make sure the mapped files in the CAS are sync'ed back to the file system when the last user of the CAS closed the file.

rdar://150379440

To avoid unnecessary data lost due to power lost immediately after the
build, make sure the mapped files in the CAS are sync'ed back to the
file system when the last user of the CAS closed the file.

rdar://150379440
@cachemeifyoucan cachemeifyoucan requested a review from a team as a code owner May 6, 2025 20:52
@cachemeifyoucan
Copy link
Author

@swift-ci please test

@cachemeifyoucan
Copy link
Author

@swift-ci please test llvm

@cachemeifyoucan cachemeifyoucan merged commit a67d9ef into swiftlang:stable/20240723 May 7, 2025
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants