From: Bruno Faccini Date: Mon, 4 Nov 2013 14:28:39 +0000 (+0100) Subject: LU-4109 tests: raise out-of inode LOV EA detection threshold X-Git-Tag: 2.5.52~90 X-Git-Url: https://git.whamcloud.com/?p=fs%2Flustre-release.git;a=commitdiff_plain;h=f52da9f69bf08e82a3f4ddaf174e3a6318258f1f LU-4109 tests: raise out-of inode LOV EA detection threshold Sanity sub-test 57b sometimes failed because the threshold (< 8K of MDT space) it used to detect if LOV EA has been stored out-of inode is too short (vs space also allocated for llog files, ChangeLog, etc). So raising threshold to 16. Signed-off-by: Bruno Faccini Change-Id: I0f59328d59da69911473433769ff683ff4fdf452 Reviewed-on: http://review.whamcloud.com/8156 Tested-by: Jenkins Tested-by: Maloo Reviewed-by: Andreas Dilger --- diff --git a/lustre/tests/sanity.sh b/lustre/tests/sanity.sh index 53ff4d2..65ffad9 100644 --- a/lustre/tests/sanity.sh +++ b/lustre/tests/sanity.sh @@ -4672,7 +4672,7 @@ test_57b() { local MDSFREE2=$(do_facet $mymds \ lctl get_param -n osd*.*MDT000$((num -1)).kbytesfree) local MDCFREE2=$(lctl get_param -n mdc.*MDT000$((num -1))-mdc-*.kbytesfree) - if [ "$MDCFREE2" -lt "$((MDCFREE - 8))" ]; then + if [ "$MDCFREE2" -lt "$((MDCFREE - 16))" ]; then if [ "$MDSFREE" != "$MDSFREE2" ]; then error "MDC before $MDCFREE != after $MDCFREE2" else