From: Eryu Guan <eguan@redhat.com>
To: Amir Goldstein <amir73il@gmail.com>
Cc: Jeff Layton <jlayton@poochiereds.net>,
"J . Bruce Fields" <bfields@fieldses.org>,
Miklos Szeredi <miklos@szeredi.hu>,
fstests@vger.kernel.org, linux-fsdevel@vger.kernel.org,
linux-unionfs@vger.kernel.org
Subject: Re: [PATCH 0/7] Overlayfs exportfs tests
Date: Thu, 11 Jan 2018 19:43:35 +0800 [thread overview]
Message-ID: <20180111114335.GK5123@eguan.usersys.redhat.com> (raw)
In-Reply-To: <1515348445-1403-1-git-send-email-amir73il@gmail.com>
On Sun, Jan 07, 2018 at 08:07:18PM +0200, Amir Goldstein wrote:
> Eryu,
>
> Following patches were used to test overlayfs NFS export.
>
> Patches 1-5 improve generic/exportfs tests, by adding test coverage
> of some directory file handle use cases.
open_by_handle test is covering more and more cases, thanks! OTOH, it's
getting more and more complicated :) Everytime I start looking at
open_by_handle tests/patches I need some time to get familiar with it
again, so the review process might be slow..
But from a quick scan, I think it's time to stop adding new sub-tests to
existing tests (maybe we should have done this since last time we added
new sub-tests to generic/467), because generic/467 is getting more
complex too and makes review harder. Perhaps we can factor out some
helper functions from generic/467 to common helpers and use them in new
tests.
>
> Patches 6-7 add two overlay specific tests for NFS file handles
> for overlay setup of same fs and non same fs.
>
> The new overlay tests don't run on upstream kernel and pass with
> my overlayfs NFS export V2 branch [1]. You may want to wait with
> merging those tests until overlayfs NFS support is merged - up to you,
> but a review would be most welcome.
OK, I'll see after reviewing all the tests.
>
> Merging patches 1-5 seems like a good idea to me regardless of
> overlayfs NFS export support.
Agreed.
Thanks,
Eryu
>
> Thanks,
> Amir.
>
> [1] https://github.com/amir73il/linux/commits/ovl-nfs-export-v2
>
> Amir Goldstein (7):
> open_by_handle: store and load file handles from file
> open_by_handle: verify dir content only with -r flag
> generic/exportfs: golden output is not silent
> generic/exportfs: store and load file handles from file
> generic/exportfs: add a test case for renamed parent dir
> overlay: test encode/decode overlay file handles
> overlay: test encode/decode of non-samefs overlay file handles
>
> src/open_by_handle.c | 112 +++++++++++++-----
> tests/generic/426 | 1 -
> tests/generic/426.out | 1 -
> tests/generic/467 | 37 ++++--
> tests/generic/467.out | 10 +-
> tests/overlay/050 | 291 ++++++++++++++++++++++++++++++++++++++++++++++
> tests/overlay/050.out | 50 ++++++++
> tests/overlay/051 | 311 ++++++++++++++++++++++++++++++++++++++++++++++++++
> tests/overlay/051.out | 50 ++++++++
> tests/overlay/group | 2 +
> 10 files changed, 822 insertions(+), 43 deletions(-)
> create mode 100755 tests/overlay/050
> create mode 100644 tests/overlay/050.out
> create mode 100755 tests/overlay/051
> create mode 100644 tests/overlay/051.out
>
> --
> 2.7.4
>
next prev parent reply other threads:[~2018-01-11 11:43 UTC|newest]
Thread overview: 21+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-01-07 18:07 [PATCH 0/7] Overlayfs exportfs tests Amir Goldstein
2018-01-07 18:07 ` [PATCH 1/7] open_by_handle: store and load file handles from file Amir Goldstein
2018-01-11 11:59 ` Eryu Guan
2018-01-11 15:59 ` Amir Goldstein
2018-01-23 13:56 ` Amir Goldstein
2018-01-07 18:07 ` [PATCH 2/7] open_by_handle: verify dir content only with -r flag Amir Goldstein
2018-01-07 18:07 ` [PATCH 3/7] generic/exportfs: golden output is not silent Amir Goldstein
2018-01-07 18:07 ` [PATCH 4/7] generic/exportfs: store and load file handles from file Amir Goldstein
2018-01-07 18:07 ` [PATCH 5/7] generic/exportfs: add a test case for renamed parent dir Amir Goldstein
2018-01-07 18:07 ` [PATCH 6/7] overlay: test encode/decode overlay file handles Amir Goldstein
2018-01-16 7:38 ` Eryu Guan
2018-01-16 10:53 ` Amir Goldstein
2018-01-16 11:06 ` Eryu Guan
2018-01-16 15:09 ` Amir Goldstein
2018-01-07 18:07 ` [PATCH 7/7] overlay: test encode/decode of non-samefs " Amir Goldstein
2018-01-16 7:42 ` Eryu Guan
2018-01-16 8:46 ` Amir Goldstein
2018-01-11 11:43 ` Eryu Guan [this message]
2018-01-11 11:52 ` [PATCH 0/7] Overlayfs exportfs tests Amir Goldstein
2018-01-12 11:52 ` Eryu Guan
2018-01-12 13:07 ` 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=20180111114335.GK5123@eguan.usersys.redhat.com \
--to=eguan@redhat.com \
--cc=amir73il@gmail.com \
--cc=bfields@fieldses.org \
--cc=fstests@vger.kernel.org \
--cc=jlayton@poochiereds.net \
--cc=linux-fsdevel@vger.kernel.org \
--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 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).