From 9ef186b71b350127e7cfb67be5729f9e0bd39c79 Mon Sep 17 00:00:00 2001 From: Li Dongyang Date: Fri, 15 Mar 2024 22:39:30 +1100 Subject: [PATCH] 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. Change-Id: Id1bc6760e721db61c11b1c3d6b2fa82965459728 Signed-off-by: Li Dongyang Reviewed-on: https://review.whamcloud.com/c/fs/lustre-release/+/54433 Tested-by: jenkins Tested-by: Maloo Reviewed-by: Andreas Dilger Reviewed-by: Alex Zhuravlev Reviewed-by: Oleg Drokin --- lustre/tests/replay-dual.sh | 2 -- lustre/tests/replay-ost-single.sh | 2 -- lustre/tests/replay-single.sh | 2 -- lustre/tests/replay-vbr.sh | 2 -- 4 files changed, 8 deletions(-) diff --git a/lustre/tests/replay-dual.sh b/lustre/tests/replay-dual.sh index 8710b67..6e84f82 100755 --- a/lustre/tests/replay-dual.sh +++ b/lustre/tests/replay-dual.sh @@ -47,8 +47,6 @@ CLIENT1=${CLIENT1:-$HOSTNAME} # Exception is the test which need two separate nodes CLIENT2=${CLIENT2:-$CLIENT1} -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 7bd3ca1..1106c16 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 9dbc21c..e0e2092 100755 --- a/lustre/tests/replay-single.sh +++ b/lustre/tests/replay-single.sh @@ -31,8 +31,6 @@ mkdir -p $DIR assert_DIR rm -rf $DIR/[df][0-9]* $DIR/f.$TESTSUITE.* -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 7508f05..0541385 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) -- 1.8.3.1