Searched refs:metacopy (Results 1 – 10 of 10) sorted by relevance
| /linux/fs/overlayfs/ |
| H A D | params.c | 42 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 D | namei.c | 30 int metacopy; member 292 if (last_element && d->metacopy && !d_is_reg(this)) { in ovl_lookup_single() 306 d->metacopy = err; in ovl_lookup_single() 307 d->stop = !d->metacopy; in ovl_lookup_single() 308 if (!d->metacopy || d->last) in ovl_lookup_single() 1068 if (d->metacopy && !ofs->config.metacopy) { in ovl_check_follow_redirect() 1131 if (d->metacopy) in ovl_lookup_layers() 1133 metacopy_size = d->metacopy; in ovl_lookup_layers() 1209 if (!ctx->upperdentry && !d->is_dir && !ctx->ctr && d->metacopy) in ovl_lookup_layers() 1210 metacopy_size = d->metacopy; in ovl_lookup_layers() [all …]
|
| H A D | util.c | 1302 int ovl_set_metacopy_xattr(struct ovl_fs *ofs, struct dentry *d, struct ovl_metacopy *metacopy) in ovl_set_metacopy_xattr() argument 1304 size_t len = metacopy->len; in ovl_set_metacopy_xattr() 1307 if (metacopy->version == 0 && metacopy->flags == 0 && metacopy->digest_algo == 0) in ovl_set_metacopy_xattr() 1311 metacopy, len, -EOPNOTSUPP); in ovl_set_metacopy_xattr() 1452 struct ovl_metacopy *metacopy) in ovl_get_verity_digest() argument 1467 metacopy->digest, &metacopy->digest_algo, NULL); in ovl_get_verity_digest() 1478 metacopy->len += digest_size; in ovl_get_verity_digest()
|
| H A D | copy_up.c | 590 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() 904 if (!c->metacopy) in ovl_copy_up_tmpfile() 1025 if (!ofs->config.metacopy) in ovl_need_meta_copy_up() 1159 ctx.metacopy = ovl_need_meta_copy_up(dentry, ctx.stat.mode, flags); in ovl_copy_up_one()
|
| H A D | Kconfig | 119 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 D | params.h | 14 bool metacopy; member
|
| H A D | overlayfs.h | 177 static inline int ovl_metadata_digest_size(const struct ovl_metacopy *metacopy) in ovl_metadata_digest_size() argument 179 if (metacopy->len < OVL_METACOPY_MIN_SIZE) in ovl_metadata_digest_size() 181 return (int)metacopy->len - OVL_METACOPY_MIN_SIZE; in ovl_metadata_digest_size() 590 struct ovl_metacopy *metacopy); 598 struct ovl_metacopy *metacopy); 686 return (!ofs->config.index && !ofs->config.metacopy && in ovl_allow_offline_changes()
|
| H A D | ovl_entry.h | 19 bool metacopy; member
|
| H A D | super.c | 736 if (ofs->config.metacopy) { in ovl_make_workdir() 737 ofs->config.metacopy = false; in ovl_make_workdir() 1500 if (ofs->config.metacopy && ofs->config.nfs_export) { in ovl_fill_super_creds()
|
| /linux/Documentation/filesystems/ |
| H A D | overlayfs.rst | 382 When the "metacopy" feature is enabled, overlayfs will only copy 385 "trusted.overlayfs.metacopy" xattr which indicates that the upper file 388 the "trusted.overlayfs.metacopy" xattr is removed from the upper file. 396 parameter metacopy=on/off. Lastly, there is also a per mount option 397 metacopy=on/off to enable/disable this feature per mount. 399 Do not use metacopy=on with untrusted upper/lower directories. Otherwise 407 conflict with metacopy=on, and will result in an error. 409 [*] redirect_dir=follow only conflicts with metacopy=on if upperdir=... is 416 With "metacopy" feature enabled, an overlayfs regular file may be a composition 443 when a "metacopy" file in one of the lower layers above it, has a "redirect" [all …]
|