From: Miklos Szeredi <miklos@szeredi.hu>
To: Amir Goldstein <amir73il@gmail.com>
Cc: Vivek Goyal <vgoyal@redhat.com>,
"linux-unionfs@vger.kernel.org" <linux-unionfs@vger.kernel.org>,
linux-fsdevel <linux-fsdevel@vger.kernel.org>,
linux-kernel <linux-kernel@vger.kernel.org>,
Jeremy Eder <jeder@redhat.com>,
David Howells <dhowells@redhat.com>, Gou Rao <grao@portworx.com>,
Vinod Jayaraman <jv@portworx.com>,
Al Viro <viro@zeniv.linux.org.uk>,
Dave Chinner <david@fromorbit.com>
Subject: Re: [POC/RFC PATCH] overlayfs: fix data inconsistency at copy up
Date: Mon, 24 Oct 2016 10:11:56 +0200 [thread overview]
Message-ID: <CAJfpegvSSbEzgFhAKi9QapZaa7exthzpys4N6QtPCATk8CzUEA@mail.gmail.com> (raw)
In-Reply-To: <CAOQ4uxjzdhfC06gNmNNWweQ=r28TvK36Synt+jvPd2HM+wLTOw@mail.gmail.com>
On Sat, Oct 22, 2016 at 5:39 PM, Amir Goldstein <amir73il@gmail.com> wrote:
> On Sat, Oct 22, 2016 at 10:24 AM, Amir Goldstein <amir73il@gmail.com> wrote:
>> On Fri, Oct 21, 2016 at 11:13 PM, Vivek Goyal <vgoyal@redhat.com> wrote:
>>> ---
>>> fs/file.c | 41 +++++++++++++++++++++++++++++++++++++++++
>>> fs/overlayfs/inode.c | 1 +
>>> 2 files changed, 42 insertions(+)
>>>
>>> Index: rhvgoyal-linux/fs/overlayfs/inode.c
>>> ===================================================================
>>> --- rhvgoyal-linux.orig/fs/overlayfs/inode.c 2016-10-21 15:43:05.391488406 -0400
>>> +++ rhvgoyal-linux/fs/overlayfs/inode.c 2016-10-21 16:07:57.409420795 -0400
>>> @@ -416,6 +416,7 @@ static ssize_t ovl_read_iter(struct kioc
>>> if (IS_ERR(upperfile)) {
>>> ret = PTR_ERR(upperfile);
>>> } else {
>>> + replace_file(file, upperfile);
I think it's a cool idea. But I'm not even going to look at the
implementation for now, because it's such a rare corner case, that
trying to optimize it should really be the last thing we do after
everything else is working fine (and only if it actually turns out to
be a thing that somebody actually cares about).
Thanks,
Miklos
next prev parent reply other threads:[~2016-10-24 8:11 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-10-12 13:33 [POC/RFC PATCH] overlayfs: fix data inconsistency at copy up Miklos Szeredi
2016-10-13 18:45 ` Amir Goldstein
2016-10-20 20:46 ` Vivek Goyal
2016-10-20 20:54 ` Vivek Goyal
2016-10-21 8:53 ` Amir Goldstein
2016-10-21 20:13 ` Vivek Goyal
2016-10-22 7:24 ` Amir Goldstein
2016-10-22 15:39 ` Amir Goldstein
2016-10-24 8:11 ` Miklos Szeredi [this message]
2016-10-21 9:12 ` Miklos Szeredi
2016-10-21 13:31 ` Vivek Goyal
2016-10-21 9:13 ` Amir Goldstein
2016-10-21 9:30 ` Miklos Szeredi
2016-10-21 13:18 ` Amir Goldstein
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=CAJfpegvSSbEzgFhAKi9QapZaa7exthzpys4N6QtPCATk8CzUEA@mail.gmail.com \
--to=miklos@szeredi.hu \
--cc=amir73il@gmail.com \
--cc=david@fromorbit.com \
--cc=dhowells@redhat.com \
--cc=grao@portworx.com \
--cc=jeder@redhat.com \
--cc=jv@portworx.com \
--cc=linux-fsdevel@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-unionfs@vger.kernel.org \
--cc=vgoyal@redhat.com \
--cc=viro@zeniv.linux.org.uk \
/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).