mirror of
				https://github.com/torvalds/linux.git
				synced 2025-10-31 08:38:45 +02:00 
			
		
		
		
	 ec3d21a9f2
			
		
	
	
		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>
		
			
				
	
	
		
			15 lines
		
	
	
	
		
			282 B
		
	
	
	
		
			C
		
	
	
	
	
	
			
		
		
	
	
			15 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 */
 |