From d54040ff1082869d481b9f82686cd5e773cca11d Mon Sep 17 00:00:00 2001 From: Li Dongyang Date: Wed, 10 May 2023 10:18:20 +1000 Subject: [PATCH] EX-6841 tests: do not truncate over s_maxbytes sanity-lipe-scan3/104 truncates file to MAX_LFS_FILESIZE but it should not go over s_maxbytes. Fixes: c05dbbbbca ("EX-4015 lipe: add lipe_scan3") Test-Parameters: trivial testlist=sanity-lipe-scan3 env=ONLY=104 Change-Id: I4a14befb0dfc34b2611052850b77a0841ff853aa Signed-off-by: Li Dongyang Reviewed-on: https://review.whamcloud.com/c/ex/lustre-release/+/50899 Tested-by: jenkins Tested-by: Maloo Reviewed-by: Alexandre Ioffe Reviewed-by: Andreas Dilger --- lustre/tests/sanity-lipe-scan3.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lustre/tests/sanity-lipe-scan3.sh b/lustre/tests/sanity-lipe-scan3.sh index b3e3e4b..b88ec1d 100644 --- a/lustre/tests/sanity-lipe-scan3.sh +++ b/lustre/tests/sanity-lipe-scan3.sh @@ -529,7 +529,7 @@ declare -a SIZES=( 8589934591 # 0x1ffffffff 48151623420 481516234200 - 9223372036854775807 + 35184372080640000 # 2000 stripes * (16 TiB - 4096 objects) ) test_104() { @@ -546,7 +546,7 @@ test_104() { expect_attr "$facet" size 0 - # For a file without striping, the MDT inode has the szie. + # For a file without striping, the MDT inode has the size. for size in "${SIZES[@]}"; do $TRUNCATE $file "$size" expect_attr "$facet" size "$size" -- 1.8.3.1