server_notify_target(sb, obd);
- /* log has been fully processed */
- obd_notify(obd, NULL, OBD_NOTIFY_CONFIG, (void *)CONFIG_LOG);
-
/* calculate recovery timeout, do it after lustre_process_log */
server_calc_timeout(lsi, obd);
+
+ /* log has been fully processed */
+ obd_notify(obd, NULL, OBD_NOTIFY_CONFIG, (void *)CONFIG_LOG);
}
RETURN(rc);
}
/* we're done */
- obd->obd_recovery_timeout = soft;
+ obd->obd_recovery_timeout = max(obd->obd_recovery_timeout, soft);
obd->obd_recovery_time_hard = hard;
obd->obd_recovery_ir_factor = factor;
}