From: Li Dongyang Date: Fri, 15 Mar 2024 11:39:30 +0000 (+1100) Subject: LU-16692 tests: remove force_new_seq from some test suites X-Git-Url: https://git.whamcloud.com/?a=commitdiff_plain;h=c0c664cac1;p=fs%2Flustre-release.git LU-16692 tests: remove force_new_seq from some test suites force_new_seq was used in some tests to avoid the situation where the sequence from replay request could be different than the one osp is at, due to previous sequence width has been used up. Now it can be handled so remvoe the force_new_seq to speed up test runs. Some force_new_seq are still required to make sure there are enough objects in the current precreate pool for the overstriping test cases. Lustre-change: https://review.whamcloud.com/54433 Lustre-commit: 9ef186b71b350127e7cfb67be5729f9e0bd39c79 Change-Id: Id1bc6760e721db61c11b1c3d6b2fa82965459728 Signed-off-by: Li Dongyang Reviewed-by: Andreas Dilger Reviewed-by: Alex Zhuravlev Reviewed-on: https://review.whamcloud.com/c/ex/lustre-release/+/54705 Tested-by: jenkins Tested-by: Maloo --- diff --git a/lustre/tests/replay-dual.sh b/lustre/tests/replay-dual.sh index 6074cc2..ade13b1 100755 --- a/lustre/tests/replay-dual.sh +++ b/lustre/tests/replay-dual.sh @@ -53,8 +53,6 @@ if [ $LINUX_VERSION_CODE -lt $(version_code 2.6.33) ]; then do_facet $SINGLEMDS "sync; sleep 10; sync; sleep 10; sync" fi -force_new_seq_all - LU482_FAILED=$(mktemp -u $TMP/$TESTSUITE.lu482.XXXXXX) test_0a() { echo "Check file is LU482_FAILED=$LU482_FAILED" diff --git a/lustre/tests/replay-ost-single.sh b/lustre/tests/replay-ost-single.sh index 2600def..750b098 100755 --- a/lustre/tests/replay-ost-single.sh +++ b/lustre/tests/replay-ost-single.sh @@ -33,8 +33,6 @@ mkdir_on_mdt0 $TDIR $LFS setstripe $TDIR -i 0 -c 1 $LFS getstripe $TDIR -force_new_seq_all - test_0a() { zconf_umount $(hostname) $MOUNT -f # needs to run during initial client->OST connection diff --git a/lustre/tests/replay-single.sh b/lustre/tests/replay-single.sh index 2a63bd3..fe95d2e 100755 --- a/lustre/tests/replay-single.sh +++ b/lustre/tests/replay-single.sh @@ -34,8 +34,6 @@ if [ $LINUX_VERSION_CODE -lt $(version_code 2.6.33) ]; then do_facet $SINGLEMDS sync fi -force_new_seq_all - test_0a() { # was test_0 mkdir_on_mdt0 $DIR/$tdir || error "mkdir $DIR/$tdir failed" replay_barrier $SINGLEMDS diff --git a/lustre/tests/replay-vbr.sh b/lustre/tests/replay-vbr.sh index 7196b47..04065c3 100755 --- a/lustre/tests/replay-vbr.sh +++ b/lustre/tests/replay-vbr.sh @@ -71,8 +71,6 @@ chk_get_version() { cos_param_file=$TMP/rvbr-cos-params save_lustre_params $(get_facets MDS) "mdt.*.commit_on_sharing" > $cos_param_file -force_new_seq mds1 - test_0a() { local ver=$(get_version $CLIENT1 $DIR/$tdir/1a)