Whamcloud - gitweb
LU-4109 tests: raise out-of inode LOV EA detection threshold 56/8156/2
authorBruno Faccini <bruno.faccini@intel.com>
Mon, 4 Nov 2013 14:28:39 +0000 (15:28 +0100)
committerOleg Drokin <oleg.drokin@intel.com>
Thu, 14 Nov 2013 03:09:01 +0000 (03:09 +0000)
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 <bruno.faccini@intel.com>
Change-Id: I0f59328d59da69911473433769ff683ff4fdf452
Reviewed-on: http://review.whamcloud.com/8156
Tested-by: Jenkins
Tested-by: Maloo <hpdd-maloo@intel.com>
Reviewed-by: Andreas Dilger <andreas.dilger@intel.com>
lustre/tests/sanity.sh

index 53ff4d2..65ffad9 100644 (file)
@@ -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