Whamcloud - gitweb
Don't have spaces in process names.
authoradilger <adilger>
Tue, 6 Aug 2002 19:23:04 +0000 (19:23 +0000)
committeradilger <adilger>
Tue, 6 Aug 2002 19:23:04 +0000 (19:23 +0000)
lustre/ldlm/ldlm_lockd.c
lustre/mds/handler.c
lustre/mds/mds_fs.c
lustre/ost/ost_handler.c

index a1cf9b4..6acd090 100644 (file)
@@ -454,7 +454,7 @@ static int ldlm_setup(struct obd_device *obddev, obd_count len, void *buf)
 
         for (i = 0; i < LDLM_NUM_THREADS; i++) {
                 char name[32];
-                sprintf(name, "lustre_dlm_%2d", i); 
+                sprintf(name, "lustre_dlm_%02d", i);
                 rc = ptlrpc_start_thread(obddev, ldlm->ldlm_service, name);
                 if (rc) {
                         CERROR("cannot start LDLM thread #%d: rc %d\n", i, rc);
index bdede83..6303205 100644 (file)
@@ -1034,7 +1034,7 @@ static int mds_setup(struct obd_device *obddev, obd_count len, void *buf)
 
         for (i = 0; i < MDS_NUM_THREADS; i++) {
                 char name[32];
-                sprintf(name, "lustre_MDS_%2d", i); 
+                sprintf(name, "lustre_MDS_%02d", i);
                 rc = ptlrpc_start_thread(obddev, mds->mds_service, name);
                 if (rc) {
                         CERROR("cannot start MDS thread #%d: rc %d\n", i, rc);
@@ -1049,8 +1049,6 @@ static int mds_setup(struct obd_device *obddev, obd_count len, void *buf)
 
         RETURN(0);
 
-        
-
 err_thread:
         ptlrpc_stop_all_threads(mds->mds_service);
 err_svc:
index 99db963..b161f6a 100644 (file)
@@ -191,7 +191,7 @@ static int mds_read_last_rcvd(struct obd_device *obddev, struct file *f)
 
                 last_rcvd = le64_to_cpu(mcd->mcd_last_rcvd);
 
-                if (last_rcvd && (last_mount - le64_to_cpu(mcd->mcd_mount_count) 
+                if (last_rcvd && (last_mount - le64_to_cpu(mcd->mcd_mount_count)
                                   < MDS_MOUNT_RECOV)) {
                         struct obd_export *export = class_new_export(obddev);
                         if (!export) {
index 90a2571..9cdf336 100644 (file)
@@ -591,7 +591,7 @@ static int ost_setup(struct obd_device *obddev, obd_count len, void *buf)
 
         for (i = 0; i < OST_NUM_THREADS; i++) {
                 char name[32];
-                sprintf(name, "lustre_ost_%2d", i);
+                sprintf(name, "lustre_ost_%02d", i);
                 err = ptlrpc_start_thread(obddev, ost->ost_service, name);
                 if (err) {
                         CERROR("error starting thread #%d: rc %d\n", i, err);