Back to home page

OSCL-LXR

 
 

    


0001 // SPDX-License-Identifier: GPL-2.0+
0002 /*
0003  * Copyright (C) 2019 Oracle.  All Rights Reserved.
0004  * Author: Darrick J. Wong <darrick.wong@oracle.com>
0005  */
0006 #ifndef __XFS_SCRUB_HEALTH_H__
0007 #define __XFS_SCRUB_HEALTH_H__
0008 
0009 unsigned int xchk_health_mask_for_scrub_type(__u32 scrub_type);
0010 void xchk_update_health(struct xfs_scrub *sc);
0011 bool xchk_ag_btree_healthy_enough(struct xfs_scrub *sc, struct xfs_perag *pag,
0012         xfs_btnum_t btnum);
0013 
0014 #endif /* __XFS_SCRUB_HEALTH_H__ */