2019-04-16 18:22:00 +03:00
|
|
|
// 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);
|
2019-04-16 18:22:01 +03:00
|
|
|
bool xchk_ag_btree_healthy_enough(struct xfs_scrub *sc, struct xfs_perag *pag,
|
|
|
|
xfs_btnum_t btnum);
|
2019-04-16 18:22:00 +03:00
|
|
|
|
|
|
|
#endif /* __XFS_SCRUB_HEALTH_H__ */
|