]> www.infradead.org Git - users/hch/xfsprogs.git/commit
xfs: track metadata health status
authorDarrick J. Wong <darrick.wong@oracle.com>
Wed, 24 Jul 2019 19:53:56 +0000 (15:53 -0400)
committerEric Sandeen <sandeen@redhat.com>
Wed, 24 Jul 2019 19:53:56 +0000 (15:53 -0400)
commitf866934a6289430c36af903f46bb11b6818865f6
treea365242824ec7e1a50ee0be35604af646d13ecea
parent580a43808c68632416ab816b103bf401111e346e
xfs: track metadata health status

Source kernel commit: 6772c1f11206f270af56d62bc26737864a63608a

Add the necessary in-core metadata fields to keep track of which parts
of the filesystem have been observed and which parts were observed to be
unhealthy, and print a warning at unmount time if we have unfixed
problems.

Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com>
Reviewed-by: Brian Foster <bfoster@redhat.com>
Signed-off-by: Eric Sandeen <sandeen@sandeen.net>
include/xfs_mount.h
include/xfs_trace.h
libxfs/util.c
libxfs/xfs_health.h [new file with mode: 0644]