== sanity test 123ab: verify statahead work by using statx ========================================================== 18:09:28 (1787868568) seq.cli-lustre-OST0000-super.width=0x1ffffff seq.cli-lustre-OST0001-super.width=0x1ffffff kvm mdc.lustre-MDT0000-mdc-ffff8d4ba30ec000.batch_stats=0 mdc.lustre-MDT0001-mdc-ffff8d4ba30ec000.batch_stats=0 striped dir -i1 -c2 -H crush /mnt/lustre/d123ab.sanity total: 100 open/close in 2.05 seconds: 48.75 ops/second llite.lustre-ffff8d4ba30ec000.statahead_max=0 100 real 0m2.479s user 0m0.010s sys 0m0.279s 'statx -l' 100 files without statahead: 3 sec llite.lustre-ffff8d4ba30ec000.statahead_max=128 llite.lustre-ffff8d4ba30ec000.statahead_max=128 100 real 0m1.009s user 0m0.006s sys 0m0.163s 'statx -l' 100 files with statahead: 1 sec statahead total: 124 statahead wrong: 2 agl total: 120 list_total: 27 fname_total: 88 hit_total: 2419 miss_total: 1278 swrong=2 ewrong=2 - open/close 761 (time 1787868597.86 total 10.01 last 76.04) total: 900 open/close in 11.62 seconds: 77.45 ops/second llite.lustre-ffff8d4ba30ec000.statahead_max=0 1000 real 0m24.815s user 0m0.079s sys 0m2.699s 'statx -l' 1000 files without statahead: 25 sec llite.lustre-ffff8d4ba30ec000.statahead_max=128 llite.lustre-ffff8d4ba30ec000.statahead_max=128 1000 real 0m5.817s user 0m0.059s sys 0m1.057s 'statx -l' 1000 files with statahead: 6 sec statahead total: 125 statahead wrong: 2 agl total: 121 list_total: 28 fname_total: 88 hit_total: 3418 miss_total: 1278 swrong=2 ewrong=2 'statx -l' done unlink + rm -r /mnt/lustre/d123ab.sanity: 18 seconds llite.lustre-ffff8d4ba30ec000.statahead_stats= statahead total: 125 statahead wrong: 2 agl total: 121 list_total: 28 fname_total: 88 hit_total: 3418 miss_total: 1278 mdc.lustre-MDT0000-mdc-ffff8d4ba30ec000.batch_stats= snapshot_time: 1787868661.718823536 secs.nsecs start_time: 1787868573.861782142 secs.nsecs elapsed_time: 87.857041394 secs.nsecs subreqs per batch batches %% cum %% 1: 5 19 19 2: 1 3 23 4: 2 7 30 8: 2 7 38 16: 2 7 46 32: 3 11 57 64: 11 42 100 mdc.lustre-MDT0001-mdc-ffff8d4ba30ec000.batch_stats= snapshot_time: 1787868661.718939286 secs.nsecs start_time: 1787868573.862013083 secs.nsecs elapsed_time: 87.856926203 secs.nsecs subreqs per batch batches %% cum %% 1: 5 23 23 2: 0 0 23 4: 2 9 33 8: 1 4 38 16: 0 0 38 32: 6 28 66 64: 7 33 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