Whamcloud - gitweb
Start six ost threads at startup instead of two
authorpschwan <pschwan>
Sat, 15 Jun 2002 05:35:03 +0000 (05:35 +0000)
committerpschwan <pschwan>
Sat, 15 Jun 2002 05:35:03 +0000 (05:35 +0000)
lustre/ost/ost_handler.c

index 7a8c550..9259b70 100644 (file)
@@ -648,6 +648,18 @@ static int ost_setup(struct obd_device *obddev, obd_count len, void *buf)
         err = ptlrpc_start_thread(obddev, ost->ost_service, "lustre_ost");
         if (err)
                 GOTO(error_disc, err = -EINVAL);
+        err = ptlrpc_start_thread(obddev, ost->ost_service, "lustre_ost");
+        if (err)
+                GOTO(error_disc, err = -EINVAL);
+        err = ptlrpc_start_thread(obddev, ost->ost_service, "lustre_ost");
+        if (err)
+                GOTO(error_disc, err = -EINVAL);
+        err = ptlrpc_start_thread(obddev, ost->ost_service, "lustre_ost");
+        if (err)
+                GOTO(error_disc, err = -EINVAL);
+        err = ptlrpc_start_thread(obddev, ost->ost_service, "lustre_ost");
+        if (err)
+                GOTO(error_disc, err = -EINVAL);
 
         RETURN(0);