mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-11-11 12:28:41 +08:00
ec3d21a9f2
This way, these tests can be used with tests that inject IO errors and shut down the filesystem. Signed-off-by: Kent Overstreet <kent.overstreet@gmail.com> Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
16 lines
282 B
C
16 lines
282 B
C
/* 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 */
|