From: "Darrick J. Wong" <djwong@kernel.org>
To: Christoph Hellwig <hch@lst.de>
Cc: aalbersh@kernel.org, linux-xfs@vger.kernel.org
Subject: Re: [PATCH] io: print more realtime subvolume related information in statfs
Date: Wed, 11 Mar 2026 13:52:33 -0700 [thread overview]
Message-ID: <20260311205233.GC1770774@frogsfrogsfrogs> (raw)
In-Reply-To: <20260311092634.995699-1-hch@lst.de>
On Wed, Mar 11, 2026 at 10:26:27AM +0100, Christoph Hellwig wrote:
> 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>
Sounds like a good idea! Sorry I didn't think to add rgextents/count
when I added metadir.
Reviewed-by: "Darrick J. Wong" <djwong@kernel.org>
--D
> ---
> 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
>
>
prev parent reply other threads:[~2026-03-11 20:52 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-03-11 9:26 [PATCH] io: print more realtime subvolume related information in statfs Christoph Hellwig
2026-03-11 9:57 ` Carlos Maiolino
2026-03-11 20:52 ` Darrick J. Wong [this message]
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=20260311205233.GC1770774@frogsfrogsfrogs \
--to=djwong@kernel.org \
--cc=aalbersh@kernel.org \
--cc=hch@lst.de \
--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