From: "Darrick J. Wong" <djwong@kernel.org>
To: zlang@kernel.org, djwong@kernel.org
Cc: linux-xfs@vger.kernel.org, fstests@vger.kernel.org
Subject: [PATCH 2/4] common/xfs: add zoned/rtstart info to mkfs filter output
Date: Mon, 28 Sep 2026 08:36:27 -0700 [thread overview]
Message-ID: <179060965805.790984.4333974916537243304.stgit@frogsfrogsfrogs> (raw)
In-Reply-To: <179060965752.790984.3511820348115861306.stgit@frogsfrogsfrogs>
From: Darrick J. Wong <djwong@kernel.org>
A subsequent patch will want to be able to extract the start of an
internal rt volume from the xfs_info output, so add the necessary lines
to _xfs_filter_mkfs to transform the output into bash variables.
Signed-off-by: "Darrick J. Wong" <djwong@kernel.org>
---
common/xfs | 3 +++
1 file changed, 3 insertions(+)
diff --git a/common/xfs b/common/xfs
index 98981e624ddade..318b1a3b245ae6 100644
--- a/common/xfs
+++ b/common/xfs
@@ -1787,6 +1787,9 @@ _xfs_filter_mkfs()
}
if (/^\s+=\s+rgcount=(\d+)\s+rgsize=(\d+) extents/) {
print STDERR "rgcount=$1\nrgextents=$2\n";
+ }
+ if (/^\s+=\s+zoned=(\d+)\s+start=(\d+) reserved=(\d+)/) {
+ print STDERR "zoned=$1\nrtstart=$2\nrtreserved=$3\n";
}'
}
next prev parent reply other threads:[~2026-09-28 15:36 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-09-28 15:36 [PATCHSET] fstests: new tests for old features Darrick J. Wong
2026-09-28 15:36 ` [PATCH 1/4] generic: regression test for refluxfs fixes Darrick J. Wong
2026-10-08 14:45 ` Zorro Lang
2026-09-28 15:36 ` Darrick J. Wong [this message]
2026-10-01 12:27 ` [PATCH 2/4] common/xfs: add zoned/rtstart info to mkfs filter output Andrey Albershteyn
2026-10-05 12:57 ` Christoph Hellwig
2026-10-08 14:47 ` Zorro Lang
2026-09-28 15:36 ` [PATCH 3/4] xfs: basic functional testing of media verification command Darrick J. Wong
2026-10-01 12:44 ` Andrey Albershteyn
2026-10-05 12:57 ` Christoph Hellwig
2026-09-28 15:36 ` [PATCH 4/4] xfs: test mkfs.xfs config file generation 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=179060965805.790984.4333974916537243304.stgit@frogsfrogsfrogs \
--to=djwong@kernel.org \
--cc=fstests@vger.kernel.org \
--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