aboutsummaryrefslogtreecommitdiffstats
path: root/fs/xfs/libxfs/xfs_health.h
diff options
context:
space:
mode:
authorDarrick J. Wong <darrick.wong@oracle.com>2019-04-12 07:41:18 -0700
committerDarrick J. Wong <darrick.wong@oracle.com>2019-04-14 18:15:57 -0700
commit1302c6a24fd952555aa6dc811cec5b2a22ac386a (patch)
tree5ffdb429e26032f449c0d6f928fb563f461b74a6 /fs/xfs/libxfs/xfs_health.h
parentxfs: report fs and rt health via geometry structure (diff)
downloadlinux-dev-1302c6a24fd952555aa6dc811cec5b2a22ac386a.tar.xz
linux-dev-1302c6a24fd952555aa6dc811cec5b2a22ac386a.zip
xfs: report AG health via AG geometry ioctl
Use the AG geometry info ioctl to report health status too. Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com> Reviewed-by: Brian Foster <bfoster@redhat.com>
Diffstat (limited to 'fs/xfs/libxfs/xfs_health.h')
-rw-r--r--fs/xfs/libxfs/xfs_health.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/xfs/libxfs/xfs_health.h b/fs/xfs/libxfs/xfs_health.h
index 3fffdcc80970..e392457023a4 100644
--- a/fs/xfs/libxfs/xfs_health.h
+++ b/fs/xfs/libxfs/xfs_health.h
@@ -184,5 +184,6 @@ xfs_inode_is_healthy(struct xfs_inode *ip)
}
void xfs_fsop_geom_health(struct xfs_mount *mp, struct xfs_fsop_geom *geo);
+void xfs_ag_geom_health(struct xfs_perag *pag, struct xfs_ag_geometry *ageo);
#endif /* __XFS_HEALTH_H__ */