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
Kernel: Enable metacopy and redirect_dir in overlayfs #170
Labels
kind/feature
A feature request
Comments
+1 |
dongsupark
added a commit
to dongsupark/coreos-overlay
that referenced
this issue
Nov 17, 2020
Enable CONFIG_OVERLAY_FS_METACOPY, metadata only copy up feature in overlayfs. When turned on, overlayfs will only copy up metadata when a metadata specific operation like chown/chmod is performed. Full file will be copied up later when file is opened for WRITE operation. More or less like delayed data copy up operation. Enable CONFIG_OVERLAY_FS_REDIRECT_DIR, which is equivalent to "redirect_dir=on" in the kernel command-line. When turned on, overlayfs will copy up directory first, before the actual contents. flatcar/Flatcar#170
dongsupark
added a commit
to flatcar/coreos-overlay
that referenced
this issue
Nov 17, 2020
Enable CONFIG_OVERLAY_FS_METACOPY, metadata only copy up feature in overlayfs. When turned on, overlayfs will only copy up metadata when a metadata specific operation like chown/chmod is performed. Full file will be copied up later when file is opened for WRITE operation. More or less like delayed data copy up operation. Enable CONFIG_OVERLAY_FS_REDIRECT_DIR, which is equivalent to "redirect_dir=on" in the kernel command-line. When turned on, overlayfs will copy up directory first, before the actual contents. flatcar/Flatcar#170
dongsupark
added a commit
to flatcar/coreos-overlay
that referenced
this issue
Nov 17, 2020
Enable CONFIG_OVERLAY_FS_METACOPY, metadata only copy up feature in overlayfs. When turned on, overlayfs will only copy up metadata when a metadata specific operation like chown/chmod is performed. Full file will be copied up later when file is opened for WRITE operation. More or less like delayed data copy up operation. Enable CONFIG_OVERLAY_FS_REDIRECT_DIR, which is equivalent to "redirect_dir=on" in the kernel command-line. When turned on, overlayfs will copy up directory first, before the actual contents. See also flatcar/Flatcar#170
Filed PR flatcar/coreos-overlay#691 |
t-lo
pushed a commit
to flatcar/coreos-overlay
that referenced
this issue
Nov 18, 2020
Enable CONFIG_OVERLAY_FS_METACOPY, metadata only copy up feature in overlayfs. When turned on, overlayfs will only copy up metadata when a metadata specific operation like chown/chmod is performed. Full file will be copied up later when file is opened for WRITE operation. More or less like delayed data copy up operation. Enable CONFIG_OVERLAY_FS_REDIRECT_DIR, which is equivalent to "redirect_dir=on" in the kernel command-line. When turned on, overlayfs will copy up directory first, before the actual contents. See also flatcar/Flatcar#170
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Current situation
At the moment, Kernel module
overlay
enables its features, neithermetacopy
norredirect_dir
, as it is given so by default. According to the overlayfs developer Amir Goldstein at LPC 2020, distros and container runtimes should enable both features for overlayfs.We should do so, and go through the ordinary CI to see if there is any regression.
Kernel configs:
CONFIG_OVERLAY_FS_METACOPY
CONFIG_OVERLAY_FS_REDIRECT_DIR
See also https://github.com/amir73il/overlayfs/wiki .
The text was updated successfully, but these errors were encountered: