public inbox for linux-xfs@vger.kernel.org
 help / color / mirror / Atom feed
From: "Darrick J. Wong" <djwong@kernel.org>
To: Christoph Hellwig <hch@lst.de>
Cc: Zorro Lang <zlang@kernel.org>,
	Hans Holmberg <hans.holmberg@wdc.com>,
	fstests@vger.kernel.org, linux-xfs@vger.kernel.org
Subject: Re: [PATCH 15/17] xfs: skip various tests on zoned devices
Date: Wed, 12 Mar 2025 13:27:59 -0700	[thread overview]
Message-ID: <20250312202759.GP2803749@frogsfrogsfrogs> (raw)
In-Reply-To: <20250312064541.664334-16-hch@lst.de>

On Wed, Mar 12, 2025 at 07:45:07AM +0100, Christoph Hellwig wrote:
> Various tests don't work with underlying zoned devices because either the
> device mapper maps don't align to zone boundaries, or in one case the test
> creates an ext2 file system that doesn't support zoned devices.
> 
> Signed-off-by: Christoph Hellwig <hch@lst.de>
> ---
>  tests/xfs/049 | 2 ++
>  tests/xfs/311 | 3 +++
>  tests/xfs/438 | 7 +++++++
>  3 files changed, 12 insertions(+)
> 
> diff --git a/tests/xfs/049 b/tests/xfs/049
> index cdcddf76498c..07feb58c9ad6 100755
> --- a/tests/xfs/049
> +++ b/tests/xfs/049
> @@ -40,6 +40,8 @@ _require_scratch_nocheck
>  _require_no_large_scratch_dev
>  _require_loop
>  _require_extra_fs ext2
> +# this test actually runs ext2 on the scratch device
> +_require_non_zoned_device $SCRATCH_DEV
>  
>  echo "(dev=$SCRATCH_DEV, mount=$SCRATCH_MNT)" >> $seqres.full
>  echo "" >> $seqres.full
> diff --git a/tests/xfs/311 b/tests/xfs/311
> index 8b806fc29eb1..e8fc547cc4b4 100755
> --- a/tests/xfs/311
> +++ b/tests/xfs/311
> @@ -30,6 +30,9 @@ _cleanup()
>  _require_scratch
>  _require_dm_target delay
>  
> +# The dm-delay map added by this test doesn't work on zoned devices
> +_require_non_zoned_device $SCRATCH_DEV

Should this kind of check become a part of _require_dm_target?  Or does
dm-delay support zoned targets, just not for this test?

> +
>  echo "Silence is golden."
>  
>  _scratch_mkfs_xfs >> $seqres.full 2>&1
> diff --git a/tests/xfs/438 b/tests/xfs/438
> index 6d1988c8b9b8..d436b583f9d1 100755
> --- a/tests/xfs/438
> +++ b/tests/xfs/438
> @@ -96,6 +96,13 @@ _require_user
>  _require_xfs_quota
>  _require_freeze
>  
> +#
> +# The dm-flakey map added by this test doesn't work on zoned devices
> +# because table sizes need to be aligned to the zone size.
> +#
> +_require_non_zoned_device $SCRATCH_DEV
> +_require_non_zoned_device $SCRATCH_RTDEV

Can we fix the table sizes?

--D

> +
>  echo "Silence is golden"
>  
>  _scratch_mkfs > $seqres.full 2>&1
> -- 
> 2.45.2
> 
> 

  reply	other threads:[~2025-03-12 20:28 UTC|newest]

Thread overview: 48+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-03-12  6:44 initial xfstests support for zoned XFS Christoph Hellwig
2025-03-12  6:44 ` [PATCH 01/17] xfs/177: force a small file system size Christoph Hellwig
2025-03-12 19:56   ` Darrick J. Wong
2025-03-12  6:44 ` [PATCH 02/17] xfs/419: use _scratch_mkfs_xfs Christoph Hellwig
2025-03-12 20:05   ` Darrick J. Wong
2025-03-13  7:24     ` Christoph Hellwig
2025-03-12  6:44 ` [PATCH 03/17] xfs/540: " Christoph Hellwig
2025-03-12 20:07   ` Darrick J. Wong
2025-03-12  6:44 ` [PATCH 04/17] common: extend the zoned device checks in _require_dm_target Christoph Hellwig
2025-03-12 20:09   ` Darrick J. Wong
2025-03-12  6:44 ` [PATCH 05/17] common: allow _require_non_zoned_device without an argument Christoph Hellwig
2025-03-12 20:10   ` Darrick J. Wong
2025-03-13  7:24     ` Christoph Hellwig
2025-03-12  6:44 ` [PATCH 06/17] common: support internal RT device in _require_realtime Christoph Hellwig
2025-03-12 20:12   ` Darrick J. Wong
2025-03-13  7:25     ` Christoph Hellwig
2025-03-12  6:44 ` [PATCH 07/17] common: support internal RT devices in scratch_mkfs_sized Christoph Hellwig
2025-03-12 20:15   ` Darrick J. Wong
2025-03-12  6:45 ` [PATCH 08/17] xfs: check for zoned-specific errors in _try_scratch_mkfs_xfs Christoph Hellwig
2025-03-12 20:17   ` Darrick J. Wong
2025-03-13  7:26     ` Christoph Hellwig
2025-03-13 17:14       ` Darrick J. Wong
2025-03-12  6:45 ` [PATCH 09/17] common: notrun in mkfs_dev for too small zoned file systems Christoph Hellwig
2025-03-12 20:18   ` Darrick J. Wong
2025-03-12  6:45 ` [PATCH 10/17] xfs: add helpers to require zoned/non-zoned " Christoph Hellwig
2025-03-12 20:19   ` Darrick J. Wong
2025-03-12  6:45 ` [PATCH 11/17] xfs: handle zoned file systems in _scratch_xfs_force_no_metadir Christoph Hellwig
2025-03-12 20:23   ` Darrick J. Wong
2025-03-13  7:28     ` Christoph Hellwig
2025-03-13 17:18       ` Darrick J. Wong
2025-03-12  6:45 ` [PATCH 12/17] xfs: no quota support with internal rtdev Christoph Hellwig
2025-03-12 20:25   ` Darrick J. Wong
2025-03-13  7:30     ` Christoph Hellwig
2025-03-12  6:45 ` [PATCH 13/17] xfs: xfs_copy doesn't like RT sections Christoph Hellwig
2025-03-12 20:25   ` Darrick J. Wong
2025-03-12  6:45 ` [PATCH 14/17] xfs: skip filestreams tests on internal RT devices Christoph Hellwig
2025-03-12 20:26   ` Darrick J. Wong
2025-03-13  7:31     ` Christoph Hellwig
2025-03-12  6:45 ` [PATCH 15/17] xfs: skip various tests on zoned devices Christoph Hellwig
2025-03-12 20:27   ` Darrick J. Wong [this message]
2025-03-13  7:32     ` Christoph Hellwig
2025-03-13 17:19       ` Darrick J. Wong
2025-03-12  6:45 ` [PATCH 16/17] xfs: skip various tests when using the zoned allocator Christoph Hellwig
2025-03-12 20:30   ` Darrick J. Wong
2025-03-13  7:33     ` Christoph Hellwig
2025-03-12  6:45 ` [PATCH 17/17] xfs/206: filter out the zoned line from mkfs output Christoph Hellwig
2025-03-12 20:20   ` Darrick J. Wong
2025-03-12 20:30 ` initial xfstests support for zoned XFS 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=20250312202759.GP2803749@frogsfrogsfrogs \
    --to=djwong@kernel.org \
    --cc=fstests@vger.kernel.org \
    --cc=hans.holmberg@wdc.com \
    --cc=hch@lst.de \
    --cc=linux-xfs@vger.kernel.org \
    --cc=zlang@kernel.org \
    /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