Whamcloud - gitweb
LU-4109 tests: raise out-of inode LOV EA detection threshold 52/9652/2
authorBruno Faccini <bruno.faccini@intel.com>
Mon, 4 Nov 2013 14:28:39 +0000 (15:28 +0100)
committerOleg Drokin <oleg.drokin@intel.com>
Wed, 26 Mar 2014 05:07:28 +0000 (05:07 +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.

Lustre commit: f52da9f69bf08e82a3f4ddaf174e3a6318258f1f
Lustre change: http://review.whamcloud.com/8156

Change-Id: I4599d8b45828cee607937b387c1b46ae0df4f6b3
Signed-off-by: Bruno Faccini <bruno.faccini@intel.com>
Reviewed-on: http://review.whamcloud.com/9652
Reviewed-by: Bob Glossman <bob.glossman@intel.com>
Tested-by: Jenkins
Tested-by: Maloo <hpdd-maloo@intel.com>
Reviewed-by: Jian Yu <jian.yu@intel.com>
Reviewed-by: Oleg Drokin <oleg.drokin@intel.com>
lustre/tests/sanity.sh

index e450a19..b68ceaa 100644 (file)
@@ -4713,7 +4713,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