xfs: record rt group metadata errors in the health system
authorDarrick J. Wong <djwong@kernel.org>
Mon, 4 Nov 2024 04:19:21 +0000 (20:19 -0800)
committerDarrick J. Wong <djwong@kernel.org>
Tue, 5 Nov 2024 21:38:40 +0000 (13:38 -0800)
commitab7bd650e17a392a205ec6b6c72b97cae18d43b4
treef01ae6c23b70696f82ff63165a5d635d25e10c15
parent21e62bddf0efdf89223d7094b9e9089a3a345807
xfs: record rt group metadata errors in the health system

Record the state of per-rtgroup metadata sickness in the rtgroup
structure for later reporting.

Signed-off-by: Darrick J. Wong <djwong@kernel.org>
Reviewed-by: Christoph Hellwig <hch@lst.de>
fs/xfs/libxfs/xfs_health.h
fs/xfs/libxfs/xfs_rtbitmap.c
fs/xfs/libxfs/xfs_rtgroup.c
fs/xfs/libxfs/xfs_rtgroup.h
fs/xfs/scrub/health.c
fs/xfs/xfs_health.c
fs/xfs/xfs_trace.h