From: Zorro Lang <zlang@redhat.com>
To: "Darrick J. Wong" <djwong@kernel.org>
Cc: linux-xfs@vger.kernel.org, fstests@vger.kernel.org
Subject: Re: [PATCH 1/2] xfs/270: actually test file readability
Date: Thu, 14 Sep 2023 00:54:23 +0800 [thread overview]
Message-ID: <20230913165423.msata7yyzxoe66o7@zlang-mailbox> (raw)
In-Reply-To: <169335059383.3526409.15894917295629170268.stgit@frogsfrogsfrogs>
On Tue, Aug 29, 2023 at 04:09:53PM -0700, Darrick J. Wong wrote:
> From: Darrick J. Wong <djwong@kernel.org>
>
> Make sure we can actually read files off the ro mounted filesystem that
> has an unknown rocompat feature set.
>
> Signed-off-by: Darrick J. Wong <djwong@kernel.org>
> ---
Looks good to me,
Reviewed-by: Zorro Lang <zlang@redhat.com>
> tests/xfs/270 | 4 ++++
> 1 file changed, 4 insertions(+)
>
>
> diff --git a/tests/xfs/270 b/tests/xfs/270
> index 7447ce87be..511dfe9fcd 100755
> --- a/tests/xfs/270
> +++ b/tests/xfs/270
> @@ -23,6 +23,9 @@ _require_scratch_nocheck
> _require_scratch_xfs_crc
>
> _scratch_mkfs_xfs >>$seqres.full 2>&1
> +_scratch_mount
> +echo moo > $SCRATCH_MNT/testfile
> +_scratch_unmount
>
> # set the highest bit of features_ro_compat, use it as an unknown
> # feature bit. If one day this bit become known feature, please
> @@ -68,6 +71,7 @@ if [ $? -ne 0 ]; then
> _fail "ro mount test failed"
> else
> # no hang/panic is fine
> + cat $SCRATCH_MNT/testfile > /dev/null
> $FSSTRESS_PROG -d $SCRATCH_MNT -p 4 -n 400 >>$seqres.full 2>&1
> fi
>
>
next prev parent reply other threads:[~2023-09-13 16:55 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-08-29 23:09 [PATCHSET v2 0/2] fstests: fix ro mounting with unknown rocompat features Darrick J. Wong
2023-08-29 23:09 ` [PATCH 1/2] xfs/270: actually test file readability Darrick J. Wong
2023-09-13 16:54 ` Zorro Lang [this message]
2023-08-29 23:09 ` [PATCH 2/2] xfs/270: actually test log recovery with unknown rocompat features Darrick J. Wong
2023-09-17 16:44 ` [PATCHSET v2 0/2] fstests: fix ro mounting " Zorro Lang
2023-09-18 15:17 ` Darrick J. Wong
2023-09-18 16:44 ` Zorro Lang
2023-09-18 18:35 ` Darrick J. Wong
2023-09-19 2:57 ` Zorro Lang
2023-09-19 3:06 ` 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=20230913165423.msata7yyzxoe66o7@zlang-mailbox \
--to=zlang@redhat.com \
--cc=djwong@kernel.org \
--cc=fstests@vger.kernel.org \
--cc=linux-xfs@vger.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