Whamcloud - gitweb
LU-16692 tests: remove force_new_seq from some test suites 33/54433/3
authorLi Dongyang <dongyangli@ddn.com>
Fri, 15 Mar 2024 11:39:30 +0000 (22:39 +1100)
committerOleg Drokin <green@whamcloud.com>
Mon, 8 Apr 2024 15:35:07 +0000 (15:35 +0000)
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 <dongyangli@ddn.com>
Reviewed-on: https://review.whamcloud.com/c/fs/lustre-release/+/54433
Tested-by: jenkins <devops@whamcloud.com>
Tested-by: Maloo <maloo@whamcloud.com>
Reviewed-by: Andreas Dilger <adilger@whamcloud.com>
Reviewed-by: Alex Zhuravlev <bzzz@whamcloud.com>
Reviewed-by: Oleg Drokin <green@whamcloud.com>
lustre/tests/replay-dual.sh
lustre/tests/replay-ost-single.sh
lustre/tests/replay-single.sh
lustre/tests/replay-vbr.sh

index 8710b67..6e84f82 100755 (executable)
@@ -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"
index 7bd3ca1..1106c16 100755 (executable)
@@ -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
index 9dbc21c..e0e2092 100755 (executable)
@@ -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
index 7508f05..0541385 100755 (executable)
@@ -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)