From: Qu Wenruo <wqu@suse.com>
To: linux-btrfs@vger.kernel.org
Subject: [PATCH 0/4] btrfs-progs: move RST feature back to experimental
Date: Thu, 13 Jun 2024 09:53:21 +0930 [thread overview]
Message-ID: <cover.1718238120.git.wqu@suse.com> (raw)
Although we have exported raid-stripe-tree feature to end users,
the feature is still experimental as only kernels with
CONFIG_BTRFS_DEBUG can even mount it.
This results a feature mismatch in btrfs-progs and kernels, and can lead
to complains/confusion from end users.
This patchset would hide RST feature back behind experimental builds for
mkfs, and completely disable rst for convert, so end users won't and
can't enable RST by accident.
Now RST related test cases (mkfs/029, mkfs/030) are skipped for
regular builds, and a new test case (mkfs/033) is skipped for
experimental builds to make sure there is really no way to enable RST
support for non-experimental builds.
The new experimental build detection also provides the basis for
other experimental features like csum conversion in the future (recent
days).
Both regular and experimental builds have passed the full test suite
(except random misc/055 failure, which is caused by a clear-stale
behavior change, and will be addressed separately)
Qu Wenruo (4):
btrfs-progs: convert: remove raid-stripe-tree support
btrfs-progs: hide rst related mkfs tests behind experimental builds
btrfs-progs: fsfeatures: move RST back to experimental
btrfs-progs: mkfs-tests: ensure regular builds won't enable rst
feature
common/fsfeatures.c | 2 ++
common/fsfeatures.h | 3 +-
mkfs/main.c | 2 ++
tests/common | 29 ++++++++++++++++
tests/convert-tests/001-ext2-basic/test.sh | 2 +-
tests/convert-tests/003-ext4-basic/test.sh | 2 +-
.../005-delete-all-rollback/test.sh | 2 +-
.../convert-tests/010-reiserfs-basic/test.sh | 2 +-
.../011-reiserfs-delete-all-rollback/test.sh | 2 +-
tests/convert-tests/024-ntfs-basic/test.sh | 2 +-
tests/mkfs-tests/029-raid-stripe-tree/test.sh | 1 +
tests/mkfs-tests/030-zoned-rst/test.sh | 1 +
tests/mkfs-tests/033-zoned-reject-rst/test.sh | 34 +++++++++++++++++++
13 files changed, 76 insertions(+), 8 deletions(-)
create mode 100755 tests/mkfs-tests/033-zoned-reject-rst/test.sh
--
2.45.2
next reply other threads:[~2024-06-13 0:23 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-06-13 0:23 Qu Wenruo [this message]
2024-06-13 0:23 ` [PATCH 1/4] btrfs-progs: convert: remove raid-stripe-tree support Qu Wenruo
2024-06-13 0:23 ` [PATCH 2/4] btrfs-progs: hide rst related mkfs tests behind experimental builds Qu Wenruo
2024-06-13 0:23 ` [PATCH 3/4] btrfs-progs: fsfeatures: move RST back to experimental Qu Wenruo
2024-06-13 0:23 ` [PATCH 4/4] btrfs-progs: mkfs-tests: ensure regular builds won't enable rst feature Qu Wenruo
2024-06-13 7:47 ` [PATCH 0/4] btrfs-progs: move RST feature back to experimental HAN Yuwei
2024-06-13 8:39 ` Qu Wenruo
2024-06-13 8:50 ` Johannes Thumshirn
2024-06-13 8:35 ` Johannes Thumshirn
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=cover.1718238120.git.wqu@suse.com \
--to=wqu@suse.com \
--cc=linux-btrfs@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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.