-
-
Notifications
You must be signed in to change notification settings - Fork 30
directly copies into the root #473
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
base: main
Are you sure you want to change the base?
Conversation
fc09cf0 to
10c88de
Compare
NN708
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We still need to improve dry run handling, as OciExportRootFs() now breaks the future root.
|
Yeah, true, I will look through everything. |
This prevents running out of space if there are too many changes.
10c88de to
c657e55
Compare
|
I added the clean up again. It might be useful if files are corrupted for some reason or in some edge cases. I renamed it though, since it would otherwise be a somewhat confusing variable name. |
d53a141 to
a20d5ee
Compare
14cd112 to
f692643
Compare
NN708
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@taukakao Could you please create a new release in your repository? This would allow us to build a test image before merging.
This makes it possible to cancel the operation after downloading.
2744089 to
b1b3161
Compare
|
@NN708 I made a release and tested it a bit. Everything seems to be as expected. |
Great work! I'll do some testing later as well. |
This prevents running out of space if there are too many changes.
It also improves compatibility with non-CoW filesystems since it doesn't rely on reflink clones anymore.
The downside is that the time window in which the future root is unusable will be longer.
Though since we always have the current root, this should not really be a problem.