From faeb178bcaa5f466fe430c400a75441fedb124fb Mon Sep 17 00:00:00 2001 From: Li Dongyang Date: Fri, 20 Dec 2024 17:39:11 +1100 Subject: [PATCH] LU-18584 tests: fix OSTSIZE for conf-sanity/106 We try to make sure OST has enough objects for conf-sanitty/106 but the default bytes to inode ratio is 16k, not 8k. Test-Parameters: trivial Test-Parameters: testlist=conf-sanity env=ONLY=106 Test-Parameters: testlist=conf-sanity env=ONLY=106 Test-Parameters: testlist=conf-sanity env=ONLY=106 Test-Parameters: testlist=conf-sanity env=ONLY=106 Test-Parameters: testlist=conf-sanity env=ONLY=106 Test-Parameters: testlist=conf-sanity env=ONLY=106 Fixes: 334d780617 ("LU-10733 tests: increase conf-sanity/106 OST size") Signed-off-by: Li Dongyang Change-Id: I40fdf909efb5d55741b327708b4a3bb089a53eba Reviewed-on: https://review.whamcloud.com/c/fs/lustre-release/+/57552 Reviewed-by: Andreas Dilger Reviewed-by: Li Xi Reviewed-by: Oleg Drokin Tested-by: jenkins Tested-by: Maloo --- lustre/tests/conf-sanity.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lustre/tests/conf-sanity.sh b/lustre/tests/conf-sanity.sh index 6c2d1a3..63f223f 100755 --- a/lustre/tests/conf-sanity.sh +++ b/lustre/tests/conf-sanity.sh @@ -9118,7 +9118,7 @@ test_106() { local creates=64768 # one full plain llog # ensure there are enough inodes in the filesystem - (( OSTSIZE < (creates + 1024) * 8)) && OSTSIZE=$(((creates + 1024) * 8)) + (( OSTSIZE < (creates + 1024) * 16)) && OSTSIZE=$(((creates + 1024) * 16)) reformat setup_noconfig lfs df -i -- 1.8.3.1