]> www.infradead.org Git - users/hch/xfsprogs.git/commit
xfs: track metadata health status
authorDarrick J. Wong <darrick.wong@oracle.com>
Fri, 19 Jul 2019 18:22:47 +0000 (14:22 -0400)
committerEric Sandeen <sandeen@redhat.com>
Fri, 19 Jul 2019 18:22:47 +0000 (14:22 -0400)
commit41bd95eb546eaffb79f34b5deeb05e34c8545b9f
treea365242824ec7e1a50ee0be35604af646d13ecea
parent44762c935ebe188d92b9ff8b1be8da534b977774
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]