]> www.infradead.org Git - users/hch/xfsprogs.git/commitdiff
libfrog: report the zoned geometry
authorChristoph Hellwig <hch@lst.de>
Fri, 20 Dec 2024 03:49:39 +0000 (19:49 -0800)
committerChristoph Hellwig <hch@lst.de>
Tue, 8 Apr 2025 07:28:23 +0000 (09:28 +0200)
Also fix up to report all the zoned information in a separate line,
which also helps with alignment.

Signed-off-by: Christoph Hellwig <hch@lst.de>
libfrog/fsgeom.c

index 5c4ba29ca9ac142994ae01e8479274ed6fd87e16..b4107b133861811eaa20986d9393121d8f3ab81d 100644 (file)
@@ -70,7 +70,8 @@ xfs_report_geom(
 "log      =%-22s bsize=%-6d blocks=%u, version=%d\n"
 "         =%-22s sectsz=%-5u sunit=%d blks, lazy-count=%d\n"
 "realtime =%-22s extsz=%-6d blocks=%lld, rtextents=%lld\n"
-"         =%-22s rgcount=%-4d rgsize=%u extents, zoned=%d\n"),
+"         =%-22s rgcount=%-4d rgsize=%u extents\n"
+"         =%-22s zoned=%-6d start=%llu reserved=%llu\n"),
                mntpoint, geo->inodesize, geo->agcount, geo->agblocks,
                "", geo->sectsize, attrversion, projid32bit,
                "", crcs_enabled, finobt_enabled, spinodes, rmapbt_enabled,
@@ -86,7 +87,8 @@ xfs_report_geom(
                !geo->rtblocks ? _("none") : rtname ? rtname : _("internal"),
                geo->rtextsize * geo->blocksize, (unsigned long long)geo->rtblocks,
                        (unsigned long long)geo->rtextents,
-               "", geo->rgcount, geo->rgextents, zoned);
+               "", geo->rgcount, geo->rgextents,
+               "", zoned, geo->rtstart, geo->rtreserved);
 }
 
 /* Try to obtain the xfs geometry.  On error returns a negative error code. */