]> git.ipfire.org Git - people/ms/linux.git/commit - fs/xfs/scrub/health.c
xfs: scrub/repair should update filesystem metadata health
authorDarrick J. Wong <darrick.wong@oracle.com>
Tue, 16 Apr 2019 15:22:00 +0000 (08:22 -0700)
committerDarrick J. Wong <darrick.wong@oracle.com>
Tue, 16 Apr 2019 17:01:57 +0000 (10:01 -0700)
commit4860a05d2475d6f50de79f168beb893cc0066a6e
tree197f1c3f82a1efc399c8f4048ac3c8480ae90b0c
parent160b5a784525e8a44902873f1938e1f4d77fe112
xfs: scrub/repair should update filesystem metadata health

Now that we have the ability to track sick metadata in-core, make scrub
and repair update those health assessments after doing work.

Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com>
Reviewed-by: Dave Chinner <dchinner@redhat.com>
fs/xfs/Makefile
fs/xfs/scrub/health.c [new file with mode: 0644]
fs/xfs/scrub/health.h [new file with mode: 0644]
fs/xfs/scrub/scrub.c
fs/xfs/scrub/scrub.h