xfs_io: print more realtime subvolume related information in statfs
PATCH v2 1/1 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 <[email protected]>
Reviewed-by Carlos Maiolino <[email protected]>
Reviewed-by "Darrick J. Wong" <[email protected]>
---
Changes since v1:
- use a consistent subject line prefix
io/stat.c | 6 ++++++ 1 file changed, 6 insertions(+)
io/stat.c +6 -0
@@ -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); } }
Signature · 1 line
2.47.3