Skip to content

xfs: add additional zoned sysfs attributes

Niklas Cassel linux-xfs 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 14 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2xfs: expose the number of free zones in sysfsDocumentation/admin-guide/xfs.rst fs/xfs/xfs_sysfs.c+16 -06 replies
2/2xfs: expose the current zonegc required status in sysfsDocumentation/admin-guide/xfs.rst fs/xfs/xfs_sysfs.c+15 -05 replies

Reviews trailers per patch

1 of 2 patches has a Reviewed-by or Acked-by.

PatchDamien Le Moal
1/2R-b
2/2

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH 0/2] xfs: add additional zoned sysfs attributes

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

Signature · 1 line
2.53.0