]> git.apps.os.sepia.ceph.com Git - xfsprogs-dev.git/commit
xfs: report block map corruption errors to the health tracking system
authorDarrick J. Wong <djwong@kernel.org>
Mon, 22 Apr 2024 17:00:54 +0000 (10:00 -0700)
committerDarrick J. Wong <djwong@kernel.org>
Mon, 3 Jun 2024 18:37:36 +0000 (11:37 -0700)
commit6d5b5846d8a6d32dda1b23e9a4aef8d7087c8581
tree801d559f254078398fc0dadabec3eb3fff6cfa0c
parentad6fabbe2f3ca0f56e4b6e8ca554c99947e384c3
xfs: report block map corruption errors to the health tracking system

Source kernel commit: 1196f3f5abf736809cafac1696967ac318a44ca0

Whenever we encounter a corrupt block mapping, we should report that to
the health monitoring system for later reporting.

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