Whamcloud - gitweb
LU-14139 statahead: add stats for batch RPC requests
[fs/lustre-release.git] / lustre / tests / sanity.sh
index 77b706a..0d23256 100755 (executable)
@@ -13575,6 +13575,8 @@ test_123a_base() { # was test 123, statahead(bug 11401)
        fi
        running_in_vm && SLOWOK=1
 
+       $LCTL set_param mdc.*.batch_stats=0
+
        rm -rf $DIR/$tdir
        test_mkdir $DIR/$tdir
        NUMFREE=$(df -i -P $DIR | tail -n 1 | awk '{ print $4 }')
@@ -13650,6 +13652,7 @@ test_123a_base() { # was test 123, statahead(bug 11401)
        log "rm -r $DIR/$tdir/: $delta seconds"
        log "rm done"
        lctl get_param -n llite.*.statahead_stats
+       $LCTL get_param mdc.*.batch_stats
 }
 
 test_123aa() {