summaryrefslogtreecommitdiffstats
path: root/fs/bcachefs/tests.h
diff options
context:
space:
mode:
Diffstat (limited to 'fs/bcachefs/tests.h')
-rw-r--r--fs/bcachefs/tests.h15
1 files changed, 15 insertions, 0 deletions
diff --git a/fs/bcachefs/tests.h b/fs/bcachefs/tests.h
new file mode 100644
index 0000000000..c73b18aea7
--- /dev/null
+++ b/fs/bcachefs/tests.h
@@ -0,0 +1,15 @@
+/* SPDX-License-Identifier: GPL-2.0 */
+#ifndef _BCACHEFS_TEST_H
+#define _BCACHEFS_TEST_H
+
+struct bch_fs;
+
+#ifdef CONFIG_BCACHEFS_TESTS
+
+int bch2_btree_perf_test(struct bch_fs *, const char *, u64, unsigned);
+
+#else
+
+#endif /* CONFIG_BCACHEFS_TESTS */
+
+#endif /* _BCACHEFS_TEST_H */