mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-08-26 19:00:25 +00:00
![Darrick J. Wong](/assets/img/avatar_default.png)
Skip cross-referencing with a btree if the health report tells us that it's known to be bad. This should reduce the dmesg spew considerably. Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com> Reviewed-by: Dave Chinner <dchinner@redhat.com>
14 lines
461 B
C
14 lines
461 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);
|
|
bool xchk_ag_btree_healthy_enough(struct xfs_scrub *sc, struct xfs_perag *pag,
|
|
xfs_btnum_t btnum);
|
|
|
|
#endif /* __XFS_SCRUB_HEALTH_H__ */
|