== sanity test 123ab: verify statahead work by using statx ========================================================== 20:38:16 (1788568696) seq.cli-lustre-OST0000-super.width=0x1ffffff seq.cli-lustre-OST0001-super.width=0x1ffffff kvm mdc.lustre-MDT0000-mdc-ffff90f4f40b1000.batch_stats=0 mdc.lustre-MDT0001-mdc-ffff90f4f40b1000.batch_stats=0 striped dir -i1 -c2 -H crush /mnt/lustre/d123ab.sanity total: 100 open/close in 3.29 seconds: 30.39 ops/second llite.lustre-ffff90f4f40b1000.statahead_max=0 100 real 0m2.847s user 0m0.011s sys 0m0.320s 'statx -l' 100 files without statahead: 3 sec llite.lustre-ffff90f4f40b1000.statahead_max=128 llite.lustre-ffff90f4f40b1000.statahead_max=128 100 real 0m1.093s user 0m0.006s sys 0m0.171s 'statx -l' 100 files with statahead: 1 sec statahead total: 114 statahead wrong: 2 agl total: 110 list_total: 26 fname_total: 79 hit_total: 1858 miss_total: 1447 swrong=2 ewrong=2 total: 900 open/close in 9.67 seconds: 93.04 ops/second llite.lustre-ffff90f4f40b1000.statahead_max=0 1000 real 0m19.642s user 0m0.095s sys 0m2.657s 'statx -l' 1000 files without statahead: 20 sec llite.lustre-ffff90f4f40b1000.statahead_max=128 llite.lustre-ffff90f4f40b1000.statahead_max=128 1000 real 0m6.748s user 0m0.067s sys 0m1.239s 'statx -l' 1000 files with statahead: 6 sec statahead total: 115 statahead wrong: 2 agl total: 111 list_total: 27 fname_total: 79 hit_total: 2857 miss_total: 1447 swrong=2 ewrong=2 'statx -l' done unlink + rm -r /mnt/lustre/d123ab.sanity: 21 seconds llite.lustre-ffff90f4f40b1000.statahead_stats= statahead total: 115 statahead wrong: 2 agl total: 111 list_total: 27 fname_total: 79 hit_total: 2857 miss_total: 1447 mdc.lustre-MDT0000-mdc-ffff90f4f40b1000.batch_stats= snapshot_time: 1788568789.408400155 secs.nsecs start_time: 1788568702.013598060 secs.nsecs elapsed_time: 87.394802095 secs.nsecs subreqs per batch batches %% cum %% 1: 8 28 28 2: 0 0 28 4: 0 0 28 8: 4 14 42 16: 1 3 46 32: 2 7 53 64: 13 46 100 mdc.lustre-MDT0001-mdc-ffff90f4f40b1000.batch_stats= snapshot_time: 1788568789.408531383 secs.nsecs start_time: 1788568702.013768620 secs.nsecs elapsed_time: 87.394762763 secs.nsecs subreqs per batch batches %% cum %% 1: 5 20 20 2: 2 8 29 4: 3 12 41 8: 1 4 45 16: 0 0 45 32: 6 25 70 64: 7 29 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