diff options
| author | 2024-11-03 20:19:21 -0800 | |
|---|---|---|
| committer | 2024-11-05 13:38:40 -0800 | |
| commit | ab7bd650e17a392a205ec6b6c72b97cae18d43b4 (patch) | |
| tree | f01ae6c23b70696f82ff63165a5d635d25e10c15 /fs/xfs/libxfs/xfs_rtgroup.h | |
| parent | xfs: convert sick_map loops to use ARRAY_SIZE (diff) | |
| download | wireguard-linux-ab7bd650e17a392a205ec6b6c72b97cae18d43b4.tar.xz wireguard-linux-ab7bd650e17a392a205ec6b6c72b97cae18d43b4.zip | |
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>
Diffstat (limited to 'fs/xfs/libxfs/xfs_rtgroup.h')
| -rw-r--r-- | fs/xfs/libxfs/xfs_rtgroup.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/xfs/libxfs/xfs_rtgroup.h b/fs/xfs/libxfs/xfs_rtgroup.h index e7679fafff8c..fba62b26912a 100644 --- a/fs/xfs/libxfs/xfs_rtgroup.h +++ b/fs/xfs/libxfs/xfs_rtgroup.h @@ -240,6 +240,7 @@ int xfs_rtginode_load_parent(struct xfs_trans *tp); const char *xfs_rtginode_name(enum xfs_rtg_inodes type); enum xfs_metafile_type xfs_rtginode_metafile_type(enum xfs_rtg_inodes type); bool xfs_rtginode_enabled(struct xfs_rtgroup *rtg, enum xfs_rtg_inodes type); +void xfs_rtginode_mark_sick(struct xfs_rtgroup *rtg, enum xfs_rtg_inodes type); int xfs_rtginode_load(struct xfs_rtgroup *rtg, enum xfs_rtg_inodes type, struct xfs_trans *tp); int xfs_rtginode_create(struct xfs_rtgroup *rtg, enum xfs_rtg_inodes type, |
