Restart lnet systemd service when restarting lnet.
Restart lnet systemd service when restarting lnet.
@@ -115,6 +115,7 @@ check_and_restart_lnet() {
if [[ $(is_lnet_available) == "false" ]]; then
modprobe lnet
lctl network up >/dev/null
+ systemctl restart lnet
if [[ $(is_lnet_available) == "true" ]]; then
result="true"
fi
