From: Eryu Guan <guan@eryu.me>
To: Christian Brauner <christian.brauner@ubuntu.com>
Cc: Christoph Hellwig <hch@lst.de>,
"Darrick J . Wong" <djwong@kernel.org>,
fstests@vger.kernel.org, David Howells <dhowells@redhat.com>
Subject: Re: [PATCH v9 0/4 REBASED] fstests: add idmapped mounts tests
Date: Sun, 21 Mar 2021 22:26:35 +0800 [thread overview]
Message-ID: <YFdXmwkoZnN5uEH/@desktop> (raw)
In-Reply-To: <20210316103627.2954121-1-christian.brauner@ubuntu.com>
On Tue, Mar 16, 2021 at 11:36:23AM +0100, Christian Brauner wrote:
> Hey everyone,
>
> /* v9 */
> Rebased onto current master.
> Hopefully we can merge this soon so we can have regular testing asap and
> the rebasing is getting a bit tedious too. ;)
Sorry for the late review.. You don't have to rebase on every release if
updating the test seq number is the only thing changed. Seq number
conflicts all the time, usually I can fix it on commit.
Patch 2 is missing from the list, maybe it's too big to post, could you
please provide a git repo so I can pull from there?
Some minor comments go to specific patch.
Thanks,
Eryu
>
> ubuntu@f1-vm:~/src/git/xfstests$ sudo ./check generic/631
> FSTYP -- xfs (non-debug)
> PLATFORM -- Linux/x86_64 f1-vm 5.12.0-rc3-inode-helpers #343 SMP Mon Mar 15 12:57:02 UTC 2021
> MKFS_OPTIONS -- -f -bsize=4096 /dev/loop1
> MOUNT_OPTIONS -- /dev/loop1 /mnt/scratch
>
> generic/631 9s ... 11s
> Ran: generic/631
> Passed all 1 tests
>
> ubuntu@f1-vm:~/src/git/xfstests$ sudo ./check generic/632
> FSTYP -- xfs (non-debug)
> PLATFORM -- Linux/x86_64 f1-vm 5.12.0-rc3-inode-helpers #343 SMP Mon Mar 15 12:57:02 UTC 2021
> MKFS_OPTIONS -- -f -bsize=4096 /dev/loop1
> MOUNT_OPTIONS -- /dev/loop1 /mnt/scratch
>
> generic/632 15s
> Ran: generic/632
> Passed all 1 tests
>
> ubuntu@f1-vm:~/src/git/xfstests$ sudo ./check xfs/529
> FSTYP -- xfs (non-debug)
> PLATFORM -- Linux/x86_64 f1-vm 5.12.0-rc3-inode-helpers #343 SMP Mon Mar 15 12:57:02 UTC 2021
> MKFS_OPTIONS -- -f -bsize=4096 /dev/loop1
> MOUNT_OPTIONS -- /dev/loop1 /mnt/scratch
>
> xfs/529 25s ... 43s
> Ran: xfs/529
> Passed all 1 tests
>
> ubuntu@f1-vm:~/src/git/xfstests$ sudo ./check xfs/530
> FSTYP -- xfs (non-debug)
> PLATFORM -- Linux/x86_64 f1-vm 5.12.0-rc3-inode-helpers #343 SMP Mon Mar 15 12:57:02 UTC 2021
> MKFS_OPTIONS -- -f -bsize=4096 /dev/loop1
> MOUNT_OPTIONS -- /dev/loop1 /mnt/scratch
>
> xfs/530 24s
> Ran: xfs/530
> Passed all 1 tests
>
> /* v8 */
> This adds the testsuite for idmapped mounts. It has been expanded quite
> a bit too since the last version:
> - Add a testcase to verify that detached mounts in the new mount api
> work correctly.
> - Add a full testsuite for idmapped mounts.
> - Add two quota tests verifying xfs behavior.
>
> Sorry that it took so long to resend this testsuite but I had to chase
> and fix a bug in the new mount API (completely independent of idmapped
> mounts) before I could add quota tests because they would otherwise run
> danger to render the host mount namespace unuseable due to that bug
> (cf. https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=d3110f256d126b44d34c1f662310cd295877c447)
> All tests here pass for me on a kernel with idmapped mounts. The xfs
> specific quota tests should go on top of the fixes that Darrick is
> currently carrying for 5.12 and which he sent out a little while ago.
>
> Thanks!
> Christian
>
> Christian Brauner (4):
> generic/631: add test for detached mount propagation
> generic/632: add fstests for idmapped mounts
> xfs/529: quotas and idmapped mounts
> xfs/530: quotas on idmapped mounts
>
> .gitignore | 3 +
> common/rc | 25 +
> configure.ac | 2 +
> include/builddefs.in | 1 +
> m4/Makefile | 1 +
> m4/package_libcap.m4 | 4 +
> src/Makefile | 8 +-
> src/detached_mounts_propagation.c | 189 +
> src/feature.c | 40 +-
> src/idmapped-mounts/Makefile | 41 +
> src/idmapped-mounts/idmapped-mounts.c | 8627 +++++++++++++++++++++++++
> src/idmapped-mounts/missing.h | 151 +
> src/idmapped-mounts/mount-idmapped.c | 428 ++
> src/idmapped-mounts/utils.c | 134 +
> src/idmapped-mounts/utils.h | 30 +
> tests/generic/631 | 41 +
> tests/generic/631.out | 2 +
> tests/generic/632 | 42 +
> tests/generic/632.out | 2 +
> tests/generic/group | 2 +
> tests/xfs/529 | 373 ++
> tests/xfs/529.out | 657 ++
> tests/xfs/530 | 274 +
> tests/xfs/530.out | 129 +
> tests/xfs/group | 2 +
> 25 files changed, 11203 insertions(+), 5 deletions(-)
> create mode 100644 m4/package_libcap.m4
> create mode 100644 src/detached_mounts_propagation.c
> create mode 100644 src/idmapped-mounts/Makefile
> create mode 100644 src/idmapped-mounts/idmapped-mounts.c
> create mode 100644 src/idmapped-mounts/missing.h
> create mode 100644 src/idmapped-mounts/mount-idmapped.c
> create mode 100644 src/idmapped-mounts/utils.c
> create mode 100644 src/idmapped-mounts/utils.h
> create mode 100644 tests/generic/631
> create mode 100644 tests/generic/631.out
> create mode 100644 tests/generic/632
> create mode 100644 tests/generic/632.out
> create mode 100644 tests/xfs/529
> create mode 100644 tests/xfs/529.out
> create mode 100644 tests/xfs/530
> create mode 100644 tests/xfs/530.out
>
>
> base-commit: f6ddaf130d5b0817278afe441fdde52f464f321b
> --
> 2.27.0
next prev parent reply other threads:[~2021-03-21 14:27 UTC|newest]
Thread overview: 22+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-03-16 10:36 [PATCH v9 0/4 REBASED] fstests: add idmapped mounts tests Christian Brauner
2021-03-16 10:36 ` [PATCH v9 1/4] generic/631: add test for detached mount propagation Christian Brauner
2021-03-18 6:23 ` Christoph Hellwig
2021-03-18 15:02 ` Darrick J. Wong
2021-03-18 15:14 ` Christian Brauner
2021-03-18 15:57 ` Darrick J. Wong
2021-03-18 16:31 ` Darrick J. Wong
2021-03-21 14:28 ` Eryu Guan
2021-03-22 10:00 ` Christian Brauner
2021-03-16 10:36 ` [PATCH v9 3/4] xfs/529: quotas and idmapped mounts Christian Brauner
2021-03-18 6:24 ` Christoph Hellwig
2021-03-21 14:42 ` Eryu Guan
2021-03-22 10:11 ` Christian Brauner
2021-03-16 10:36 ` [PATCH v9 4/4] xfs/530: quotas on " Christian Brauner
2021-03-18 6:24 ` Christoph Hellwig
2021-03-21 14:51 ` Eryu Guan
2021-03-22 12:25 ` Christian Brauner
[not found] ` <20210316103627.2954121-3-christian.brauner@ubuntu.com>
2021-03-18 6:23 ` [PATCH v9 2/4] generic/632: add fstests for " Christoph Hellwig
2021-03-21 14:26 ` Eryu Guan [this message]
2021-03-21 15:32 ` [PATCH v9 0/4 REBASED] fstests: add idmapped mounts tests Christian Brauner
2021-03-22 2:37 ` Eryu Guan
2021-03-22 9:49 ` Christian Brauner
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=YFdXmwkoZnN5uEH/@desktop \
--to=guan@eryu.me \
--cc=christian.brauner@ubuntu.com \
--cc=dhowells@redhat.com \
--cc=djwong@kernel.org \
--cc=fstests@vger.kernel.org \
--cc=hch@lst.de \
/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