== sanity test 123ab: verify statahead work by using statx ========================================================== 09:15:05 (1789132505) seq.cli-lustre-OST0000-super.width=0x1ffffff seq.cli-lustre-OST0001-super.width=0x1ffffff kvm mdc.lustre-MDT0000-mdc-ffff9b79c2e0d000.batch_stats=0 mdc.lustre-MDT0001-mdc-ffff9b79c2e0d000.batch_stats=0 striped dir -i1 -c2 -H crush /mnt/lustre/d123ab.sanity total: 100 open/close in 2.75 seconds: 36.41 ops/second llite.lustre-ffff9b79c2e0d000.statahead_max=0 100 real 0m2.639s user 0m0.009s sys 0m0.297s 'statx -l' 100 files without statahead: 2 sec llite.lustre-ffff9b79c2e0d000.statahead_max=128 llite.lustre-ffff9b79c2e0d000.statahead_max=128 100 real 0m0.927s user 0m0.007s sys 0m0.155s 'statx -l' 100 files with statahead: 1 sec statahead total: 150 statahead wrong: 2 agl total: 146 list_total: 26 fname_total: 121 hit_total: 1937 miss_total: 750 swrong=2 ewrong=2 - open/close 648 (time 1789132534.04 total 10.01 last 64.71) total: 900 open/close in 13.80 seconds: 65.20 ops/second llite.lustre-ffff9b79c2e0d000.statahead_max=0 1000 real 0m24.620s user 0m0.085s sys 0m2.894s 'statx -l' 1000 files without statahead: 24 sec llite.lustre-ffff9b79c2e0d000.statahead_max=128 llite.lustre-ffff9b79c2e0d000.statahead_max=128 1000 real 0m5.740s user 0m0.079s sys 0m1.422s 'statx -l' 1000 files with statahead: 6 sec statahead total: 151 statahead wrong: 2 agl total: 147 list_total: 27 fname_total: 121 hit_total: 2936 miss_total: 750 swrong=2 ewrong=2 'statx -l' done unlink + rm -r /mnt/lustre/d123ab.sanity: 21 seconds llite.lustre-ffff9b79c2e0d000.statahead_stats= statahead total: 151 statahead wrong: 2 agl total: 147 list_total: 27 fname_total: 121 hit_total: 2936 miss_total: 750 mdc.lustre-MDT0000-mdc-ffff9b79c2e0d000.batch_stats= snapshot_time: 1789132602.107443352 secs.nsecs start_time: 1789132510.662523416 secs.nsecs elapsed_time: 91.444919936 secs.nsecs subreqs per batch batches %% cum %% 1: 5 17 17 2: 1 3 20 4: 1 3 24 8: 3 10 34 16: 5 17 51 32: 2 6 58 64: 12 41 100 mdc.lustre-MDT0001-mdc-ffff9b79c2e0d000.batch_stats= snapshot_time: 1789132602.107530551 secs.nsecs start_time: 1789132510.662651643 secs.nsecs elapsed_time: 91.444878908 secs.nsecs subreqs per batch batches %% cum %% 1: 8 28 28 2: 0 0 28 4: 5 17 46 8: 1 3 50 16: 0 0 50 32: 9 32 82 64: 5 17 100 unlink(/mnt/lustre/d123ab.sanity/f123ab.sanity0) error: No such file or directory total: 0 unlinks in 0 seconds: -nan unlinks/second seq.cli-lustre-OST0000-super.width=65536 seq.cli-lustre-OST0001-super.width=65536