[snapshot] Add config option for volatile overlayfs#731
Merged
imeoer merged 1 commit intocontainerd:mainfrom Mar 30, 2026
Merged
[snapshot] Add config option for volatile overlayfs#731imeoer merged 1 commit intocontainerd:mainfrom
imeoer merged 1 commit intocontainerd:mainfrom
Conversation
Add `enable_overlayfs_volatile` to the snapshot config so operators can globally enable the volatile overlayfs mount option on all writable layers without needing to inject snapshot labels through the container runtime stack. The volatile option skips sync on the upper layer, improving write performance for ephemeral container filesystems. This is a safe trade-off for most workloads where the writable layer does not need to survive a crash.
1 task
Codecov Report❌ Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #731 +/- ##
==========================================
+ Coverage 22.02% 24.30% +2.27%
==========================================
Files 130 132 +2
Lines 11931 12234 +303
==========================================
+ Hits 2628 2973 +345
+ Misses 8960 8897 -63
- Partials 343 364 +21
🚀 New features to boost your workflow:
|
Fricounet
added a commit
to DataDog/nydus-snapshotter
that referenced
this pull request
Apr 1, 2026
Add `enable_overlayfs_volatile` to the snapshot config so operators can globally enable the volatile overlayfs mount option on all writable layers without needing to inject snapshot labels through the container runtime stack. The volatile option skips sync on the upper layer, improving write performance for ephemeral container filesystems. This is a safe trade-off for most workloads where the writable layer does not need to survive a crash.
Fricounet
added a commit
to DataDog/nydus-snapshotter
that referenced
this pull request
Apr 1, 2026
…20) Add `enable_overlayfs_volatile` to the snapshot config so operators can globally enable the volatile overlayfs mount option on all writable layers without needing to inject snapshot labels through the container runtime stack. The volatile option skips sync on the upper layer, improving write performance for ephemeral container filesystems. This is a safe trade-off for most workloads where the writable layer does not need to survive a crash.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Overview
Please briefly describe the changes your pull request makes.
The volatile option skips sync on the upper layer, improving write performance for ephemeral container filesystems. This is a safe trade-off for most workloads where the writable layer does not need to survive a crash.
Related Issues
Please link to the relevant issue. For example:
Fix #123orRelated #456.Fix #730
Change Details
Please describe your changes in detail:
Add
enable_overlayfs_volatileto the snapshot config so operators can globally enable the volatile overlayfs mount option on all writable layers without needing to inject snapshot labels through the container runtime stack.Test Results
If you have any relevant screenshots or videos that can help illustrate your changes, please add them here.
Ran a snapshotter locally with the config enabled. Logs show the volatile option being used:
Change Type
Please select the type of change your pull request relates to:
Self-Checklist
Before submitting a pull request, please ensure you have completed the following: