From f52da9f69bf08e82a3f4ddaf174e3a6318258f1f Mon Sep 17 00:00:00 2001 From: Bruno Faccini Date: Mon, 4 Nov 2013 15:28:39 +0100 Subject: [PATCH] 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 --- lustre/tests/sanity.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 1.8.3.1