From: Vivek Goyal <vgoyal@redhat.com>
To: Miklos Szeredi <miklos@szeredi.hu>
Cc: Amir Goldstein <amir73il@gmail.com>,
overlayfs <linux-unionfs@vger.kernel.org>
Subject: Re: [PATCH v2 1/5] ovl: return error on mount if metacopy cannot be enabled
Date: Thu, 1 Nov 2018 17:25:45 -0400 [thread overview]
Message-ID: <20181101212545.GD15140@redhat.com> (raw)
In-Reply-To: <CAJfpegsLjG3n7WhzH4YHc-aGDMR-jHOydMmMswn=d6TfPtPRpQ@mail.gmail.com>
On Thu, Nov 01, 2018 at 09:41:08PM +0100, Miklos Szeredi wrote:
> On Thu, Nov 1, 2018 at 2:11 PM, Miklos Szeredi <miklos@szeredi.hu> wrote:
> > On Thu, Nov 1, 2018 at 2:03 PM, Vivek Goyal <vgoyal@redhat.com> wrote:
> >> On Thu, Nov 01, 2018 at 02:48:09AM +0200, Amir Goldstein wrote:
> >
> >>>
> >>> case OPT_METACOPY_ON:
> >>> config->metacopy = true;
> >>> + config->strict = true;
> >>
> >> I think either ->strict should go in a separate patch or we should have
> >> a good description in commit message, explaining why ->strict is there
> >> and how it will impact behavior going forward.
> >
> > I'm redoing Amir's patches a bit, and at the moment I'm more inclined
> > to leave this after the merge window, since there are so many subtle
> > details to deal with.
> >
> > Back shortly with an updated set.
>
> ...this is more complicated than I thought.
>
> Anyway, pushed a metacopy fix to overlayfs-next, that I'm pretty happy with.
>
> I don't think erroring out on noxattr is important; falling back is
> actually quite sane. And it isn't going to be an issue in real life,
> since xattr is supported on lots of fs, and it's unlikely that lots of
> people will want to use overlayfs with e.g. minix as the upper layer.
Hi Miklos,
This looks reasonable to me. I tried metacopy=on and it mounted. Only
little issue seems to be that it enables redirect_dir but it does not
show in /proc/mounts.
#cat /proc/mounts | grep overlay
none /root/overlayfs-testing/merged overlay rw,seclabel,relatime,lowerdir=lower:lower2,upperdir=upper,workdir=work,metacopy=on 0 0
Is this an issue or it is fine given on same kernel configuration all
user has to pass is "metacopy=on" to get similar mount settings. Thought
of pointing it out to make sure this is not an issue.
Thanks
Vivek
next prev parent reply other threads:[~2018-11-01 21:25 UTC|newest]
Thread overview: 21+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-11-01 0:48 [PATCH v2 0/5] Overlayfs strict feature requirements Amir Goldstein
2018-11-01 0:48 ` [PATCH v2 1/5] ovl: return error on mount if metacopy cannot be enabled Amir Goldstein
2018-11-01 13:03 ` Vivek Goyal
2018-11-01 13:11 ` Miklos Szeredi
2018-11-01 20:41 ` Miklos Szeredi
2018-11-01 21:22 ` Amir Goldstein
2018-11-01 21:39 ` Miklos Szeredi
2018-11-05 12:57 ` Amir Goldstein
2018-11-07 11:26 ` Miklos Szeredi
2018-11-07 11:59 ` Amir Goldstein
2018-11-07 12:09 ` Miklos Szeredi
2018-11-01 21:25 ` Vivek Goyal [this message]
2018-11-01 21:35 ` Miklos Szeredi
2018-11-01 0:48 ` [PATCH v2 2/5] ovl: enforce 'strict' feature requirements with metacopy=on Amir Goldstein
2018-11-01 0:48 ` [PATCH v2 3/5] ovl: enforce 'strict' upper fs " Amir Goldstein
2018-11-01 0:48 ` [PATCH v2 4/5] ovl: enforce 'strict' unique uuid requirement " Amir Goldstein
2018-11-01 0:48 ` [PATCH v2 5/5] ovl: enforce 'strict' upper fs and feature requirements with strict=on Amir Goldstein
2018-11-01 7:42 ` [PATCH v2 0/5] Overlayfs strict feature requirements Amir Goldstein
2018-11-01 13:16 ` Vivek Goyal
2018-11-01 13:42 ` Amir Goldstein
2018-11-01 14:02 ` Vivek Goyal
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20181101212545.GD15140@redhat.com \
--to=vgoyal@redhat.com \
--cc=amir73il@gmail.com \
--cc=linux-unionfs@vger.kernel.org \
--cc=miklos@szeredi.hu \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.