From: Lai Siyao Date: Tue, 28 Jul 2020 13:44:09 +0000 (+0800) Subject: LU-13824 test: test sanity 230q with fewer files on ZFS X-Git-Tag: 2.13.57~118 X-Git-Url: https://git.whamcloud.com/?p=fs%2Flustre-release.git;a=commitdiff_plain;h=279603b953a95dbf74565f422dd66bd663fd6174 LU-13824 test: test sanity 230q with fewer files on ZFS Sanity 230q may timeout on ZFS backend, test with fewer files. Test-Parameters: trivial fstype=zfs testlist=sanity mdscount=2 mdtcount=4 env=ONLY=230q,ONLY_REPEAT=100 Signed-off-by: Lai Siyao Change-Id: Iaf9e4e6d68244937819305af72df33e59df19f1f Reviewed-on: https://review.whamcloud.com/39528 Reviewed-by: James Nunez Reviewed-by: James Simmons Reviewed-by: Andreas Dilger Tested-by: jenkins Tested-by: Maloo Reviewed-by: Oleg Drokin --- diff --git a/lustre/tests/sanity.sh b/lustre/tests/sanity.sh index 78fa3ed..7ca9728 100755 --- a/lustre/tests/sanity.sh +++ b/lustre/tests/sanity.sh @@ -18398,6 +18398,9 @@ test_230q() { local stripe_index local nr_files + # test with fewer files on ZFS + [ "$mds1_FSTYPE" == "zfs" ] && threshold=40 + stack_trap "do_nodes $mdts $LCTL set_param \ mdt.*.dir_split_count=$saved_threshold" stack_trap "do_nodes $mdts $LCTL set_param \