mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-12-01 08:04:22 +08:00
4860a05d24
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>
13 lines
360 B
C
13 lines
360 B
C
// SPDX-License-Identifier: GPL-2.0+
|
|
/*
|
|
* Copyright (C) 2019 Oracle. All Rights Reserved.
|
|
* Author: Darrick J. Wong <darrick.wong@oracle.com>
|
|
*/
|
|
#ifndef __XFS_SCRUB_HEALTH_H__
|
|
#define __XFS_SCRUB_HEALTH_H__
|
|
|
|
unsigned int xchk_health_mask_for_scrub_type(__u32 scrub_type);
|
|
void xchk_update_health(struct xfs_scrub *sc);
|
|
|
|
#endif /* __XFS_SCRUB_HEALTH_H__ */
|