Home
last modified time | relevance | path

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

/linux/fs/overlayfs/
H A Dparams.c42 module_param_named(metacopy, ovl_metacopy_def, bool, 0644);
43 MODULE_PARM_DESC(metacopy,
681 config->metacopy = result.uint_32; in ovl_parse_param()
682 ctx->set.metacopy = true; in ovl_parse_param()
824 ofs->config.metacopy = ovl_metacopy_def; in ovl_init_fs_context()
914 if (config->metacopy && config->redirect_mode != OVL_REDIRECT_ON) { in ovl_fs_params_verify()
915 if (set.metacopy && set.redirect) { in ovl_fs_params_verify()
927 config->metacopy = false; in ovl_fs_params_verify()
957 if (config->nfs_export && config->metacopy) { in ovl_fs_params_verify()
958 if (set.nfs_export && set.metacopy) { in ovl_fs_params_verify()
[all …]
H A Dutil.c1277 int ovl_set_metacopy_xattr(struct ovl_fs *ofs, struct dentry *d, struct ovl_metacopy *metacopy) in ovl_set_metacopy_xattr() argument
1279 size_t len = metacopy->len; in ovl_set_metacopy_xattr()
1282 if (metacopy->version == 0 && metacopy->flags == 0 && metacopy->digest_algo == 0) in ovl_set_metacopy_xattr()
1286 metacopy, len, -EOPNOTSUPP); in ovl_set_metacopy_xattr()
1427 struct ovl_metacopy *metacopy) in ovl_get_verity_digest() argument
1442 metacopy->digest, &metacopy->digest_algo, NULL); in ovl_get_verity_digest()
1453 metacopy->len += digest_size; in ovl_get_verity_digest()
H A Dcopy_up.c590 bool metacopy; member
645 if (!S_ISREG(c->stat.mode) || c->metacopy || !c->stat.size) in ovl_copy_up_data()
694 if (c->metacopy) { in ovl_copy_up_metadata()
835 if (!c->metacopy) in ovl_copy_up_workdir()
873 if (!c->metacopy && c->stat.size) { in ovl_copy_up_tmpfile()
912 if (!c->metacopy) in ovl_copy_up_tmpfile()
1033 if (!ofs->config.metacopy) in ovl_need_meta_copy_up()
1167 ctx.metacopy = ovl_need_meta_copy_up(dentry, ctx.stat.mode, flags); in ovl_copy_up_one()
H A Dparams.h14 bool metacopy; member
H A DKconfig119 possible to turn off this feature globally with the "metacopy=off"
121 "metacopy=off" mount option.
124 mounting an overlay which has metacopy only inodes on a kernel
H A Dovl_entry.h19 bool metacopy; member
/linux/Documentation/filesystems/
H A Doverlayfs.rst397 When the "metacopy" feature is enabled, overlayfs will only copy
400 "trusted.overlayfs.metacopy" xattr which indicates that the upper file
403 the "trusted.overlayfs.metacopy" xattr is removed from the upper file.
411 parameter metacopy=on/off. Lastly, there is also a per mount option
412 metacopy=on/off to enable/disable this feature per mount.
414 Do not use metacopy=on with untrusted upper/lower directories. Otherwise
422 conflict with metacopy=on, and will result in an error.
424 [*] redirect_dir=follow only conflicts with metacopy=on if upperdir=... is
431 With "metacopy" feature enabled, an overlayfs regular file may be a composition
458 when a "metacopy" file in one of the lower layers above it, has a "redirect"
[all …]