]> git.apps.os.sepia.ceph.com Git - xfsprogs-dev.git/commit
xfs: separate the marking of sick and checked metadata
authorDarrick J. Wong <djwong@kernel.org>
Mon, 22 Apr 2024 17:00:53 +0000 (10:00 -0700)
committerDarrick J. Wong <djwong@kernel.org>
Mon, 3 Jun 2024 18:37:36 +0000 (11:37 -0700)
commitcbe38cd7c4fe0c545454d215ffb8fbdc7925b089
tree001177183a197ed1bb9a97ad2dbc1bd1fd2739f4
parent7b11e9aed621827b4a57b411399b07cb4d302602
xfs: separate the marking of sick and checked metadata

Source kernel commit: 0b8686f19879d896bbe2d3e893f433a08160452d

Split the setting of the sick and checked masks into separate functions
as part of preparing to add the ability for regular runtime fs code
(i.e. not scrub) to mark metadata structures sick when corruptions are
found.  Improve the documentation of libxfs' requirements for helper
behavior.

Signed-off-by: Darrick J. Wong <djwong@kernel.org>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Carlos Maiolino <cmaiolino@redhat.com>
libxfs/xfs_health.h