Lines Matching refs:metacopy

42 module_param_named(metacopy, ovl_metacopy_def, bool, 0644);
43 MODULE_PARM_DESC(metacopy,
155 fsparam_enum("metacopy", Opt_metacopy, ovl_parameter_bool),
614 config->metacopy = result.uint_32;
615 ctx->set.metacopy = true;
731 ofs->config.metacopy = ovl_metacopy_def;
785 if (ctx->nr_data > 0 && !config->metacopy) {
786 pr_err("lower data-only dirs require metacopy support.\n");
815 /* Resolve verity -> metacopy dependency */
816 if (config->verity_mode && !config->metacopy) {
818 if (set.metacopy) {
819 pr_err("conflicting options: metacopy=off,verity=%s\n",
823 /* Otherwise automatically enable metacopy. */
824 config->metacopy = true;
834 /* Resolve verity -> metacopy -> redirect_dir dependency */
835 if (config->metacopy && config->redirect_mode != OVL_REDIRECT_ON) {
836 if (set.metacopy && set.redirect) {
837 pr_err("conflicting options: metacopy=on,redirect_dir=%s\n",
851 pr_info("disabling metacopy due to redirect_dir=%s\n",
853 config->metacopy = false;
882 /* Resolve nfs_export -> !metacopy && !verity dependency */
883 if (config->nfs_export && config->metacopy) {
884 if (set.nfs_export && set.metacopy) {
885 pr_err("conflicting options: nfs_export=on,metacopy=on\n");
888 if (set.metacopy) {
890 * There was an explicit metacopy=on that resulted
893 pr_info("disabling nfs_export due to metacopy=on\n");
908 pr_info("disabling metacopy due to nfs_export=on\n");
909 config->metacopy = false;
914 /* Resolve userxattr -> !redirect && !metacopy && !verity dependency */
922 if (config->metacopy && set.metacopy) {
923 pr_err("conflicting options: userxattr,metacopy=on\n");
932 * Silently disable default setting of redirect and metacopy.
938 config->metacopy = false;
997 if (ofs->config.metacopy != ovl_metacopy_def)
998 seq_printf(m, ",metacopy=%s",
999 ofs->config.metacopy ? "on" : "off");