From: James Nunez Date: Thu, 24 Aug 2017 14:51:15 +0000 (-0600) Subject: LU-9891 tests: Increase space not released for ZFS X-Git-Tag: 2.10.53~5 X-Git-Url: https://git.whamcloud.com/?a=commitdiff_plain;h=6faae60be03020f1e8b032c1eb93829f70d1e08d;p=fs%2Flustre-release.git 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 --- 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