From 6faae60be03020f1e8b032c1eb93829f70d1e08d Mon Sep 17 00:00:00 2001 From: James Nunez Date: Thu, 24 Aug 2017 08:51:15 -0600 Subject: [PATCH] LU-9891 tests: Increase space not released for ZFS Several Lustre tests calculate the free space on the object storage servers. For servers running ZFS, the amount of space released by ZFS is not 100% deterministic. Thus, fs_log_size() will return the buffer size that we allow the space to be off by. For ZFS, increase this buffer from 400 to 512 KB. Test-Parameters: trivial testgroup=review-zfs-part-2 Signed-off-by: James Nunez Change-Id: I32e0ae3752d0ee0e9f0091ea779f8b53ba969a26 Reviewed-on: https://review.whamcloud.com/28682 Tested-by: Jenkins Reviewed-by: Andreas Dilger Reviewed-by: Patrick Farrell Tested-by: Maloo --- lustre/tests/test-framework.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lustre/tests/test-framework.sh b/lustre/tests/test-framework.sh index 3e46015..f302656 100755 --- a/lustre/tests/test-framework.sh +++ b/lustre/tests/test-framework.sh @@ -746,7 +746,7 @@ fs_log_size() { local size=0 case $fstype in ldiskfs) size=50;; # largest seen is 44, leave some headroom - zfs) size=400;; # largest seen is 384 + zfs) size=512;; # largest seen is 512 esac echo -n $size -- 1.8.3.1