From: Christoph Hellwig <hch@infradead.org>
To: "Darrick J. Wong" <djwong@kernel.org>
Cc: zlang@redhat.com, fstests@vger.kernel.org, guan@eryu.me,
linux-xfs@vger.kernel.org
Subject: Re: [PATCH 1/1] xfs: test scaling of the mkfs concurrency options
Date: Tue, 18 Jun 2024 23:24:25 -0700 [thread overview]
Message-ID: <ZnJ5mfiqfnur5lFc@infradead.org> (raw)
In-Reply-To: <171867144932.793370.9007901197841846249.stgit@frogsfrogsfrogs>
On Mon, Jun 17, 2024 at 05:46:45PM -0700, Darrick J. Wong wrote:
> From: Darrick J. Wong <djwong@kernel.org>
>
> Make sure that the AG count and log size scale up with the new
> concurrency options to mkfs.
>
> Signed-off-by: Darrick J. Wong <djwong@kernel.org>
> ---
> tests/xfs/1842 | 55 ++++++++++++++
> tests/xfs/1842.cfg | 4 +
> tests/xfs/1842.out.lba1024 | 177 ++++++++++++++++++++++++++++++++++++++++++++
> tests/xfs/1842.out.lba2048 | 177 ++++++++++++++++++++++++++++++++++++++++++++
> tests/xfs/1842.out.lba4096 | 177 ++++++++++++++++++++++++++++++++++++++++++++
> tests/xfs/1842.out.lba512 | 177 ++++++++++++++++++++++++++++++++++++++++++++
> 6 files changed, 767 insertions(+)
> create mode 100755 tests/xfs/1842
> create mode 100644 tests/xfs/1842.cfg
> create mode 100644 tests/xfs/1842.out.lba1024
> create mode 100644 tests/xfs/1842.out.lba2048
> create mode 100644 tests/xfs/1842.out.lba4096
> create mode 100644 tests/xfs/1842.out.lba512
>
>
> diff --git a/tests/xfs/1842 b/tests/xfs/1842
> new file mode 100755
> index 0000000000..8180ca7a6e
> --- /dev/null
> +++ b/tests/xfs/1842
> @@ -0,0 +1,55 @@
> +#! /bin/bash
> +# SPDX-License-Identifier: GPL-2.0
> +# Copyright (c) 2022-2024 Oracle. All Rights Reserved.
> +#
> +# FS QA Test No. 1842
> +#
> +# mkfs concurrency test - ensure the log and agsize scaling works for various
> +# concurrency= parameters
> +#
> +. ./common/preamble
> +_begin_fstest log metadata auto quick
> +
> +# Import common functions.
> +. ./common/filter
> +. ./common/reflink
> +
> +_cleanup()
> +{
> + cd /
> + rm -r -f $tmp.* $loop_file
> +}
> +
> +# real QA test starts here
> +_supported_fs xfs
> +
> +_require_test
> +_require_loop
> +$MKFS_XFS_PROG 2>&1 | grep -q concurrency || \
> + _notrun "mkfs does not support concurrency options"
> +
> +test_dev_lbasize=$(blockdev --getss $TEST_DEV)
> +seqfull=$0
> +_link_out_file "lba${test_dev_lbasize}"
This should probably check for an lba size that doesn't have valid
golden output instead of having a weird failure case? Not really
an issue right now, but it will be one with the large lba size work.
next prev parent reply other threads:[~2024-06-19 6:24 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-06-18 0:46 [PATCHSET 1/6] xfsprogs: scale shards on ssds Darrick J. Wong
2024-06-18 0:46 ` [PATCH 1/1] xfs: test scaling of the mkfs concurrency options Darrick J. Wong
2024-06-19 6:24 ` Christoph Hellwig [this message]
2024-06-19 16:28 ` Darrick J. Wong
2024-06-20 4:24 ` Christoph Hellwig
2024-06-19 16:29 ` [PATCH v1.1 " Darrick J. Wong
2024-06-20 4:24 ` Christoph Hellwig
-- strict thread matches above, loose matches on Subject: below --
2024-06-20 20:52 [PATCHSET 1/6] xfsprogs: scale shards on ssds Darrick J. Wong
2024-06-20 20:54 ` [PATCH 1/1] xfs: test scaling of the mkfs concurrency options Darrick J. Wong
2024-06-03 20:12 [PATCHSET 3/3] xfsprogs: scale shards on ssds Darrick J. Wong
2024-06-03 20:13 ` [PATCH 1/1] xfs: test scaling of the mkfs concurrency options Darrick J. Wong
2023-12-31 19:57 [PATCHSET 2/8] xfsprogs: scale shards on ssds Darrick J. Wong
2023-12-27 13:43 ` [PATCH 1/1] xfs: test scaling of the mkfs concurrency options Darrick J. Wong
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=ZnJ5mfiqfnur5lFc@infradead.org \
--to=hch@infradead.org \
--cc=djwong@kernel.org \
--cc=fstests@vger.kernel.org \
--cc=guan@eryu.me \
--cc=linux-xfs@vger.kernel.org \
--cc=zlang@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