From: Christoph Hellwig <hch@lst.de>
To: aalbersh@kernel.org
Cc: linux-xfs@vger.kernel.org, Carlos Maiolino <cmaiolino@redhat.com>,
"Darrick J. Wong" <djwong@kernel.org>
Subject: [PATCH v2] xfs_io: print more realtime subvolume related information in statfs
Date: Thu, 12 Mar 2026 08:00:11 +0100 [thread overview]
Message-ID: <20260312070027.1156793-1-hch@lst.de> (raw)
The statfs call report information from the fs geometry structure.
Add the fields added for realtime group and zoned device support to
this output.
Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Carlos Maiolino <cmaiolino@redhat.com>
Reviewed-by: "Darrick J. Wong" <djwong@kernel.org>
---
Changes since v1:
- use a consistent subject line prefix
io/stat.c | 6 ++++++
1 file changed, 6 insertions(+)
diff --git a/io/stat.c b/io/stat.c
index c1085f14eade..e3b3574e0416 100644
--- a/io/stat.c
+++ b/io/stat.c
@@ -282,6 +282,12 @@ statfs_f(
printf(_("geom.rtextsize = %u\n"), fsgeo.rtextsize);
printf(_("geom.sunit = %u\n"), fsgeo.sunit);
printf(_("geom.swidth = %u\n"), fsgeo.swidth);
+ printf(_("geom.rgextents = %u\n"), fsgeo.rgextents);
+ printf(_("geom.rgcount = %u\n"), fsgeo.rgcount);
+ printf(_("geom.rtstart = %llu\n"),
+ (unsigned long long)fsgeo.rtstart);
+ printf(_("geom.rtreserved = %llu\n"),
+ (unsigned long long)fsgeo.rtreserved);
}
}
--
2.47.3
reply other threads:[~2026-03-12 7:00 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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=20260312070027.1156793-1-hch@lst.de \
--to=hch@lst.de \
--cc=aalbersh@kernel.org \
--cc=cmaiolino@redhat.com \
--cc=djwong@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