xref: /linux/fs/xfs/scrub/fscounters.h (revision a23e1966932464e1c5226cb9ac4ce1d5fc10ba22)
1 /* SPDX-License-Identifier: GPL-2.0-or-later */
2 /*
3  * Copyright (c) 2021-2024 Oracle.  All Rights Reserved.
4  * Author: Darrick J. Wong <djwong@kernel.org>
5  */
6 #ifndef __XFS_SCRUB_FSCOUNTERS_H__
7 #define __XFS_SCRUB_FSCOUNTERS_H__
8 
9 struct xchk_fscounters {
10 	struct xfs_scrub	*sc;
11 	uint64_t		icount;
12 	uint64_t		ifree;
13 	uint64_t		fdblocks;
14 	uint64_t		frextents;
15 	unsigned long long	icount_min;
16 	unsigned long long	icount_max;
17 	bool			frozen;
18 };
19 
20 #endif /* __XFS_SCRUB_FSCOUNTERS_H__ */
21