public inbox for linux-xfs@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/2] xfs: add additional zoned sysfs attributes
@ 2026-04-20 13:50 Niklas Cassel
  2026-04-20 13:50 ` [PATCH 1/2] xfs: expose the number of free zones in sysfs Niklas Cassel
  2026-04-20 13:50 ` [PATCH 2/2] xfs: expose the current zonegc required status " Niklas Cassel
  0 siblings, 2 replies; 6+ messages in thread
From: Niklas Cassel @ 2026-04-20 13:50 UTC (permalink / raw)
  To: Carlos Maiolino
  Cc: Christoph Hellwig, Damien Le Moal, Hans Holmberg,
	Johannes Thumshirn, linux-xfs, Niklas Cassel

Hello all,

This series adds:
/sys/fs/xfs/<dev>/zoned/nr_free_zones
and
/sys/fs/xfs/<dev>/zoned/zonegc_required

These values are already available in /proc/<pid>/mountstats, however,
mountstats will unconditionally print the stats for all mounted zoned XFS
filesystems.

Making the same information in /sys/fs/xfs/<dev>/zoned/ makes it easier
for monitoring tools software to read the values for a specific filesystem.


Kind regards,
Niklas

Niklas Cassel (2):
  xfs: expose the number of free zones in sysfs
  xfs: expose the current zonegc required status in sysfs

 Documentation/admin-guide/xfs.rst |  8 ++++++++
 fs/xfs/xfs_sysfs.c                | 23 +++++++++++++++++++++++
 2 files changed, 31 insertions(+)


base-commit: 2ffc6900d5c3a7cd59becda2aa67581d9bd3858e
-- 
2.53.0


^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2026-04-20 16:09 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-04-20 13:50 [PATCH 0/2] xfs: add additional zoned sysfs attributes Niklas Cassel
2026-04-20 13:50 ` [PATCH 1/2] xfs: expose the number of free zones in sysfs Niklas Cassel
2026-04-20 15:39   ` Damien Le Moal
2026-04-20 13:50 ` [PATCH 2/2] xfs: expose the current zonegc required status " Niklas Cassel
2026-04-20 15:47   ` Damien Le Moal
2026-04-20 16:09     ` Niklas Cassel

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox