Changeset 10659
- Timestamp:
- Dec 12, 2006, 10:26:22 AM (20 years ago)
- Location:
- trunk/Ohana/src/opihi/pcontrol
- Files:
-
- 5 edited
-
CheckBusyJob.c (modified) (2 diffs)
-
CheckDoneHost.c (modified) (1 diff)
-
KillJob.c (modified) (2 diffs)
-
ResetJob.c (modified) (1 diff)
-
StartJob.c (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/Ohana/src/opihi/pcontrol/CheckBusyJob.c
r10652 r10659 36 36 37 37 case PCLIENT_HUNG: 38 // don't do anything drastic, just keep trying 39 if (VerboseMode()) gprint (GP_ERR, "client is busy, not responding"); 40 FreeIOBuffer (&buffer); 41 return (TRUE); 42 43 # if (0) 38 44 HarvestHost (host[0].pid); 39 45 // unlink host & job … … 44 50 FreeIOBuffer (&buffer); 45 51 return (TRUE); 52 # endif 46 53 47 54 case PCLIENT_GOOD: -
trunk/Ohana/src/opihi/pcontrol/CheckDoneHost.c
r10657 r10659 26 26 27 27 case PCLIENT_HUNG: 28 // XXX should this be DONE or DOWN?/29 PutHost (host, PCONTROL_HOST_ DONE, STACK_BOTTOM);28 // don't do anything drastic, just try again later 29 PutHost (host, PCONTROL_HOST_BUSY, STACK_BOTTOM); 30 30 if (DEBUG || VerboseMode()) gprint (GP_ERR, "host %s is not responding\n", host[0].hostname); 31 31 FreeIOBuffer (&buffer); -
trunk/Ohana/src/opihi/pcontrol/KillJob.c
r10652 r10659 30 30 31 31 case PCLIENT_HUNG: 32 // don't do anything drastic, just keep trying 33 if (VerboseMode()) gprint (GP_ERR, "client is busy, not responding"); 34 FreeIOBuffer (&buffer); 35 return (TRUE); 36 37 # if (0) 32 38 HarvestHost (host[0].pid); 33 39 // unlink host & job … … 38 44 FreeIOBuffer (&buffer); 39 45 return (TRUE); 46 # endif 40 47 41 48 case PCLIENT_GOOD: -
trunk/Ohana/src/opihi/pcontrol/ResetJob.c
r10652 r10659 32 32 case PCLIENT_HUNG: 33 33 /*** should we consider a HUNG host DOWN? ***/ 34 gprint (GP_ERR, "host %s is not responding \n", host[0].hostname);34 gprint (GP_ERR, "host %s is not responding (ResetJob)\n", host[0].hostname); 35 35 FreeIOBuffer (&buffer); 36 36 return (FALSE); -
trunk/Ohana/src/opihi/pcontrol/StartJob.c
r10652 r10659 38 38 39 39 case PCLIENT_HUNG: 40 // we need the job start to return a valid Job ID, 41 // give up on jobs which don't get started. 42 gprint (GP_ERR, "host %s is not responding (StartJob)\n", host[0].hostname); 40 43 if (VerboseMode()) gprint (GP_ERR, "host %s is not responding\n", host[0].hostname); 41 44 goto failure;
Note:
See TracChangeset
for help on using the changeset viewer.
