From: Zorro Lang <zorro.lang@gmail.com>
To: Joanne Chang <joannechien@google.com>
Cc: Jaegeuk Kim <jaegeuk@kernel.org>,
fstests@vger.kernel.org, linux-f2fs-devel@lists.sourceforge.net
Subject: Re: [f2fs-dev] [PATCH v1] f2fs/{022, 023}: clear MOUNT_OPTIONS alongside MKFS_OPTIONS
Date: Sat, 2 May 2026 10:11:45 +0800 [thread overview]
Message-ID: <afVc-ZxMAKHCpQSR@zlang-mailbox> (raw)
In-Reply-To: <20260428022440.2481342-1-joannechien@google.com>
On Tue, Apr 28, 2026 at 02:24:40AM +0000, Joanne Chang wrote:
> Currently, f2fs/022 and f2fs/023 only clears MKFS_OPTIONS. This causes
> the tests to fail when leftover MOUNT_OPTIONS depend on unapplied
> MKFS_OPTIONS. So MOUNT_OPTIONS should also be cleared to ensure reliable
> mounting.
>
> Signed-off-by: Joanne Chang <joannechien@google.com>
> ---
Hmm, Makes sense to me.
Reviewed-by: Zorro Lang <zlang@kernel.org>
> tests/f2fs/022 | 1 +
> tests/f2fs/023 | 1 +
> 2 files changed, 2 insertions(+)
>
> diff --git a/tests/f2fs/022 b/tests/f2fs/022
> index 728ef4e8..854ec327 100755
> --- a/tests/f2fs/022
> +++ b/tests/f2fs/022
> @@ -23,6 +23,7 @@ _require_inject_f2fs_command node i_nid
>
> # remove all mkfs options to avoid layout change of on-disk inode
> export MKFS_OPTIONS=""
> +export MOUNT_OPTIONS=""
>
> foo_path=$SCRATCH_MNT/foo
> bar_path=$SCRATCH_MNT/bar
> diff --git a/tests/f2fs/023 b/tests/f2fs/023
> index 33108421..f3e8785f 100755
> --- a/tests/f2fs/023
> +++ b/tests/f2fs/023
> @@ -25,6 +25,7 @@ testfile=$SCRATCH_MNT/testfile
>
> # remove all mkfs options to avoid layout change of on-disk inode
> export MKFS_OPTIONS=""
> +export MOUNT_OPTIONS=""
>
> _scratch_mkfs "-O extra_attr,flexible_inline_xattr" >> $seqres.full || _fail "mkfs failed"
> _scratch_mount "-o inline_xattr_size=512" >>$seqres.full 2>&1
> --
> 2.54.0.rc2.544.gc7ae2d5bb8-goog
>
_______________________________________________
Linux-f2fs-devel mailing list
Linux-f2fs-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/linux-f2fs-devel
next prev parent reply other threads:[~2026-05-02 2:12 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-04-28 2:24 [f2fs-dev] [PATCH v1] f2fs/{022, 023}: clear MOUNT_OPTIONS alongside MKFS_OPTIONS Joanne Chang via Linux-f2fs-devel
2026-05-02 2:11 ` Zorro Lang [this message]
2026-05-09 8:31 ` Chao Yu via Linux-f2fs-devel
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=afVc-ZxMAKHCpQSR@zlang-mailbox \
--to=zorro.lang@gmail.com \
--cc=fstests@vger.kernel.org \
--cc=jaegeuk@kernel.org \
--cc=joannechien@google.com \
--cc=linux-f2fs-devel@lists.sourceforge.net \
/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