Whamcloud - gitweb
LU-18584 tests: fix OSTSIZE for conf-sanity/106 52/57552/2
authorLi Dongyang <dongyangli@ddn.com>
Fri, 20 Dec 2024 06:39:11 +0000 (17:39 +1100)
committerOleg Drokin <green@whamcloud.com>
Sat, 18 Jan 2025 22:05:42 +0000 (22:05 +0000)
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 <dongyangli@ddn.com>
Change-Id: I40fdf909efb5d55741b327708b4a3bb089a53eba
Reviewed-on: https://review.whamcloud.com/c/fs/lustre-release/+/57552
Reviewed-by: Andreas Dilger <adilger@whamcloud.com>
Reviewed-by: Li Xi <lixi@ddn.com>
Reviewed-by: Oleg Drokin <green@whamcloud.com>
Tested-by: jenkins <devops@whamcloud.com>
Tested-by: Maloo <maloo@whamcloud.com>
lustre/tests/conf-sanity.sh

index 6c2d1a3..63f223f 100755 (executable)
@@ -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