Home
last modified time | relevance | path

Searched refs:metacopy (Results 1 – 7 of 7) sorted by relevance

/Linux-v6.1/fs/overlayfs/
Dnamei.c26 bool metacopy; member
255 if (last_element && d->metacopy && !d_is_reg(this)) { in ovl_lookup_single()
271 d->metacopy = err; in ovl_lookup_single()
272 d->stop = !d->metacopy; in ovl_lookup_single()
273 if (!d->metacopy || d->last) in ovl_lookup_single()
857 .metacopy = false, in ovl_lookup()
891 if (d.metacopy) in ovl_lookup()
930 if ((uppermetacopy || d.metacopy) && !ofs->config.metacopy) { in ovl_lookup()
971 if (d.metacopy && ctr) { in ovl_lookup()
1021 if (d.metacopy || (uppermetacopy && !ctr)) { in ovl_lookup()
Dsuper.c66 module_param_named(metacopy, ovl_metacopy_def, bool, 0644);
67 MODULE_PARM_DESC(metacopy,
382 if (ofs->config.metacopy != ovl_metacopy_def) in ovl_show_options()
384 ofs->config.metacopy ? "on" : "off"); in ovl_show_options()
609 config->metacopy = true; in ovl_parse_opt()
614 config->metacopy = false; in ovl_parse_opt()
665 if (config->metacopy && !config->redirect_dir) { in ovl_parse_opt()
678 config->metacopy = false; in ovl_parse_opt()
707 if (config->nfs_export && config->metacopy) { in ovl_parse_opt()
725 config->metacopy = false; in ovl_parse_opt()
[all …]
Dcopy_up.c509 bool metacopy; member
558 if (!S_ISREG(c->stat.mode) || c->metacopy || !c->stat.size) in ovl_copy_up_data()
605 if (c->metacopy) { in ovl_copy_up_metadata()
716 if (!c->metacopy) in ovl_copy_up_workdir()
754 if (!c->metacopy && c->stat.size) { in ovl_copy_up_tmpfile()
778 if (!c->metacopy) in ovl_copy_up_tmpfile()
873 if (!ofs->config.metacopy) in ovl_need_meta_copy_up()
976 ctx.metacopy = ovl_need_meta_copy_up(dentry, ctx.stat.mode, flags); in ovl_copy_up_one()
DKconfig118 possible to turn off this feature globally with the "metacopy=off"
120 "metacopy=off" mount option.
123 mounting an overlay which has metacopy only inodes on a kernel
Dovl_entry.h20 bool metacopy; member
Doverlayfs.h347 return (!ofs->config.index && !ofs->config.metacopy && in ovl_allow_offline_changes()
/Linux-v6.1/Documentation/filesystems/
Doverlayfs.rst358 parameter metacopy=on/off. Lastly, there is also a per mount option
359 metacopy=on/off to enable/disable this feature per mount.
361 Do not use metacopy=on with untrusted upper/lower directories. Otherwise
369 conflict with metacopy=on, and will result in an error.
371 [*] redirect_dir=follow only conflicts with metacopy=on if upperdir=... is