Merge tag 'indirect-health-reporting-6.9_2024-02-23' of https://git.kernel.org/pub...
authorChandan Babu R <chandanbabu@kernel.org>
Sat, 24 Feb 2024 04:25:02 +0000 (09:55 +0530)
committerChandan Babu R <chandanbabu@kernel.org>
Sat, 24 Feb 2024 04:25:02 +0000 (09:55 +0530)
commitf10775795302a592e97ae6427e449ed220d5ad03
tree3dfc69e8562e3dde1ef03791b1172cc8790c9817
parent6fe1910e8557e73d81f30d862f7b731d24ea60be
parenta1f3e0cca41036c3c66abb6a2ed8fedc214e9a4c
Merge tag 'indirect-health-reporting-6.9_2024-02-23' of https://git./linux/kernel/git/djwong/xfs-linux into xfs-6.9-mergeC

xfs: indirect health reporting

This series enables the XFS health reporting infrastructure to remember
indirect health concerns when resources are scarce.  For example, if a
scrub notices that there's something wrong with an inode's metadata but
memory reclaim needs to free the incore inode, we want to record in the
perag data the fact that there was some inode somewhere with an error.
The perag structures never go away.

The first two patches in this series set that up, and the third one
provides a means for xfs_scrub to tell the kernel that it can forget the
indirect problem report.

Signed-off-by: Darrick J. Wong <djwong@kernel.org>
Signed-off-by: Chandan Babu R <chandanbabu@kernel.org>
* tag 'indirect-health-reporting-6.9_2024-02-23' of https://git.kernel.org/pub/scm/linux/kernel/git/djwong/xfs-linux:
  xfs: update health status if we get a clean bill of health
  xfs: remember sick inodes that get inactivated
  xfs: add secondary and indirect classes to the health tracking system