}
run_test 117 "verify fsfilt_extend =========="
+NO_SLOW_RESENDCOUNT=4
export OLD_RESENDCOUNT=""
set_resend_count () {
local PROC_RESENDCOUNT="osc.${FSNAME}-OST*-osc-*.resend_count"
echo resend_count is set to $(lctl get_param -n $PROC_RESENDCOUNT)
}
-[ "$SLOW" = "no" ] && set_resend_count 4 # for reduce test_118* time (bug 14842)
+# for reduce test_118* time (b=14842)
+[ "$SLOW" = "no" ] && set_resend_count $NO_SLOW_RESENDCOUNT
# Reset async IO behavior after error case
reset_async() {
test_118c()
{
[ $PARALLEL == "yes" ] && skip "skip parallel run" && return
+
+ # for 118c, restore the original resend count, LU-1940
+ [ "$SLOW" = "no" ] && [ -n "$OLD_RESENDCOUNT" ] &&
+ set_resend_count $OLD_RESENDCOUNT
remote_ost_nodsh && skip "remote OST with nodsh" && return
reset_async
}
run_test 118c "Fsync blocks on EROFS until dirty pages are flushed =========="
+# continue to use small resend count to reduce test_118* time (b=14842)
+[ "$SLOW" = "no" ] && set_resend_count $NO_SLOW_RESENDCOUNT
+
test_118d()
{
[ $PARALLEL == "yes" ] && skip "skip parallel run" && return