From d56ea0c80a959ebd9b393f2da048cc179cb16127 Mon Sep 17 00:00:00 2001 From: Mr NeilBrown Date: Mon, 28 Nov 2022 07:49:50 +1100 Subject: [PATCH] LU-14992 tests: add more mkdir_on_mdt0 calls A previous patch changed some mkdir calls in test_133a to mkdir_on_mdt0. This allows stats collected from mdt0 to reflect the mkdir. However two mkdir calls were missed, so "crossdir_rename" stats can be wrong. Test-Parameters: trivial mdscount=2 mdtcount=4 testlist=sanity env=ONLY=133a Fixes: f0324c5c2f ("LU-14992 tests: sanity/replay-vbr mkdir on MDT0") Signed-off-by: Mr NeilBrown Change-Id: I4e5c2e5504307462bff4012a13ef9deb24f8da8c Reviewed-on: https://review.whamcloud.com/c/fs/lustre-release/+/49252 Reviewed-by: Andreas Dilger Reviewed-by: Oleg Drokin Reviewed-by: Jian Yu Tested-by: jenkins Tested-by: Maloo --- lustre/tests/sanity.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lustre/tests/sanity.sh b/lustre/tests/sanity.sh index ae70409..aac7a2f 100755 --- a/lustre/tests/sanity.sh +++ b/lustre/tests/sanity.sh @@ -14381,8 +14381,8 @@ test_133a() { check_stats $SINGLEMDS "rmdir" 1 local testdir1=$DIR/${tdir}/stats_testdir1 - mkdir -p ${testdir} - mkdir -p ${testdir1} + mkdir_on_mdt0 -p ${testdir} + mkdir_on_mdt0 -p ${testdir1} touch ${testdir1}/test1 mv ${testdir1}/test1 ${testdir} || error "file crossdir rename" check_stats $SINGLEMDS "crossdir_rename" 1 -- 1.8.3.1