From: Amir Goldstein <amir73il@gmail.com>
To: Miklos Szeredi <miklos@szeredi.hu>
Cc: Vivek Goyal <vgoyal@redhat.com>,
overlayfs <linux-unionfs@vger.kernel.org>,
Fabian <godi.beat@gmx.net>
Subject: Re: overlayfs: issue with a replaced lower squashfs with export-table
Date: Wed, 8 Jul 2020 11:50:29 +0300 [thread overview]
Message-ID: <CAOQ4uxiq7hkaew4LoFZkf4R73iH_pU7OHOriycLCnnywtA0O0w@mail.gmail.com> (raw)
In-Reply-To: <CAJfpegur+DfoGA4e+R2okSmso59Kx0ArnkpJ03o9qM1KH5rLdg@mail.gmail.com>
On Wed, Jul 8, 2020 at 11:37 AM Miklos Szeredi <miklos@szeredi.hu> wrote:
>
> On Wed, Jul 8, 2020 at 10:31 AM Amir Goldstein <amir73il@gmail.com> wrote:
>
> >
> > 1) is not problematic IMO and the simple patch I posted may be applied
> > for fixing the reported issue, but it only solved the special case of null uuid.
> > The problem still exists with re-creating lower on xfs/ext4, e.g. by
> > rm -rf and unpacking image tar.
>
> How so? st_ino may be reused but the fh is guaranteed to be unique.
>
Doh! You are right. I was talking nonsense.
The only problem would be with re-creating an xfs/ext4 lower image
with the same uuid maybe because a basic image is cloned.
In any case, it's a corner of a corner of a corner.
I will post the patch to fix null uuid.
Thanks,
Amir.
next prev parent reply other threads:[~2020-07-08 8:50 UTC|newest]
Thread overview: 20+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-07-06 13:27 overlayfs: issue with a replaced lower squashfs with export-table Fabian
2020-07-06 14:29 ` Amir Goldstein
2020-07-06 15:14 ` Fabian
2020-07-06 15:33 ` Amir Goldstein
2020-07-06 16:10 ` Fabian
2020-07-06 17:14 ` Amir Goldstein
2020-07-16 13:29 ` Fabian Godehardt
2020-07-07 5:51 ` Amir Goldstein
2020-07-07 15:51 ` Vivek Goyal
2020-07-07 17:41 ` Amir Goldstein
2020-07-07 21:53 ` Vivek Goyal
2020-07-08 6:55 ` Amir Goldstein
2020-07-08 8:00 ` Miklos Szeredi
2020-07-08 8:31 ` Amir Goldstein
2020-07-08 8:37 ` Miklos Szeredi
2020-07-08 8:50 ` Amir Goldstein [this message]
2020-07-08 14:23 ` Vivek Goyal
2020-07-08 14:26 ` Vivek Goyal
2020-07-08 17:26 ` Amir Goldstein
2020-07-08 17:36 ` 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=CAOQ4uxiq7hkaew4LoFZkf4R73iH_pU7OHOriycLCnnywtA0O0w@mail.gmail.com \
--to=amir73il@gmail.com \
--cc=godi.beat@gmx.net \
--cc=linux-unionfs@vger.kernel.org \
--cc=miklos@szeredi.hu \
--cc=vgoyal@redhat.com \
/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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).