From: Christoph Hellwig Date: Thu, 12 Mar 2026 07:00:11 +0000 (+0100) Subject: xfs_io: print more realtime subvolume related information in statfs X-Git-Tag: v6.19.0~1 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=69721699daeba43eed65d00845580812252cb5da;p=xfsprogs-dev.git xfs_io: print more realtime subvolume related information in statfs 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 Reviewed-by: Carlos Maiolino Reviewed-by: Darrick J. Wong --- diff --git a/io/stat.c b/io/stat.c index c1085f14..e3b3574e 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); } }