Merge tag 'xfs-6.9-merge-8' of git://git.kernel.org/pub/scm/fs/xfs/xfs-linux
[linux-block.git] / fs / xfs / scrub / fscounters.h
diff --git a/fs/xfs/scrub/fscounters.h b/fs/xfs/scrub/fscounters.h
new file mode 100644 (file)
index 0000000..461a13d
--- /dev/null
@@ -0,0 +1,20 @@
+/* SPDX-License-Identifier: GPL-2.0-or-later */
+/*
+ * Copyright (c) 2021-2024 Oracle.  All Rights Reserved.
+ * Author: Darrick J. Wong <djwong@kernel.org>
+ */
+#ifndef __XFS_SCRUB_FSCOUNTERS_H__
+#define __XFS_SCRUB_FSCOUNTERS_H__
+
+struct xchk_fscounters {
+       struct xfs_scrub        *sc;
+       uint64_t                icount;
+       uint64_t                ifree;
+       uint64_t                fdblocks;
+       uint64_t                frextents;
+       unsigned long long      icount_min;
+       unsigned long long      icount_max;
+       bool                    frozen;
+};
+
+#endif /* __XFS_SCRUB_FSCOUNTERS_H__ */