forked from lei.chen/myxce
merge job rusage and pending reason support
This commit is contained in:
parent
30824ae5ea
commit
cb0c7fe9e7
82 changed files with 4280 additions and 2561 deletions
|
|
@ -5,6 +5,7 @@
|
|||
|
||||
#include "cluster.h"
|
||||
#include "objmgr.h"
|
||||
#include "preason.h"
|
||||
#include "utils.h"
|
||||
#include "xce/cluster_def.h"
|
||||
#include "xstring.h"
|
||||
|
|
@ -296,6 +297,11 @@ void job_obj_killer(job_t* job)
|
|||
FREEUP(job->job.run_usage);
|
||||
}
|
||||
|
||||
if (job->job.pend_reasons != NULL) {
|
||||
erase_job_preason(job->job.pend_reasons);
|
||||
FREEUP(job->job.pend_reasons);
|
||||
}
|
||||
|
||||
FREEUP(job->job.exit_info);
|
||||
|
||||
memset(obj, 0x0, sizeof(*obj));
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue