1f08c3bdfSopenharmony_ciFile system metadata test program is used to test i-node operations
2f08c3bdfSopenharmony_ciwith heavy workload. Make sure every i-node operation gets the
3f08c3bdfSopenharmony_ciexpected result. This script creates a lot of directory entries with
4f08c3bdfSopenharmony_cik-tree data structure.
5f08c3bdfSopenharmony_ci
6f08c3bdfSopenharmony_cik-tree is a transformation of binary tree, For a binary tree, each father
7f08c3bdfSopenharmony_cinode has 2 children at most; but for a k-tree, it can has k children. We 
8f08c3bdfSopenharmony_cineed to test both file and directory, so we do some changes for k-tree 
9f08c3bdfSopenharmony_ciconcept here. viz. each father node has k sub directories and k text files. 
10f08c3bdfSopenharmony_ci
11f08c3bdfSopenharmony_ciNote, test will caculate approximate disk space firstly based on the test  
12f08c3bdfSopenharmony_ciparameters from user. parameter tree_depth should be less than 10; 
13f08c3bdfSopenharmony_ciparameter node_number should be less than 20. If user passes a larger 
14f08c3bdfSopenharmony_cinumber, it will generate a huge directory hierarchy, which might exhaust
15f08c3bdfSopenharmony_ciyour disk space soon.
16f08c3bdfSopenharmony_ci
17f08c3bdfSopenharmony_ciAs a suggestion, it's better to run the script on a free partition, so
18f08c3bdfSopenharmony_ciyou can recover it easily by formatting disk after test gets finished!
19f08c3bdfSopenharmony_ci
20f08c3bdfSopenharmony_ciHere are the component list of fs-metadata test program.
21f08c3bdfSopenharmony_cik-tree-gen		k-tree generator
22f08c3bdfSopenharmony_cik-tree-trav		to modify a k-tree with i-nodes operations
23f08c3bdfSopenharmony_cik-thread.sh		test thread
24f08c3bdfSopenharmony_cifs-metadata.sh		the script to lauch test threads.
25f08c3bdfSopenharmony_ci
26