Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
S
Slurm
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
tud-zih-energy
Slurm
Commits
3e03c3cb
Commit
3e03c3cb
authored
8 years ago
by
Tim Wickberg
Browse files
Options
Downloads
Patches
Plain Diff
Remove unused gs_job_scan().
parent
c5000885
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
src/slurmctld/gang.c
+0
-21
0 additions, 21 deletions
src/slurmctld/gang.c
src/slurmctld/gang.h
+0
-4
0 additions, 4 deletions
src/slurmctld/gang.h
with
0 additions
and
25 deletions
src/slurmctld/gang.c
+
0
−
21
View file @
3e03c3cb
...
...
@@ -1144,7 +1144,6 @@ static void _scan_slurm_job_list(void)
* gs_init: initialize plugin
*
* gs_job_start: a new allocation has been created
* gs_job_scan: synchronize with master job list
* gs_job_fini: an existing allocation has been cleared
* gs_reconfig: refresh partition and job data
* _cycle_job_list: timeslicer thread is rotating jobs
...
...
@@ -1284,26 +1283,6 @@ extern void gs_job_start(struct job_record *job_ptr)
info
(
"gang: leaving gs_job_start"
);
}
/* Scan the master SLURM job list for any new jobs to add, or for any old jobs
* to remove */
extern
void
gs_job_scan
(
void
)
{
if
(
!
(
slurmctld_conf
.
preempt_mode
&
PREEMPT_MODE_GANG
))
return
;
if
(
slurmctld_conf
.
debug_flags
&
DEBUG_FLAG_GANG
)
info
(
"gang: entering gs_job_scan"
);
slurm_mutex_lock
(
&
data_mutex
);
_scan_slurm_job_list
();
slurm_mutex_unlock
(
&
data_mutex
);
_preempt_job_dequeue
();
/* MUST BE OUTSIDE OF data_mutex lock */
if
(
slurmctld_conf
.
debug_flags
&
DEBUG_FLAG_GANG
)
info
(
"gang: leaving gs_job_scan"
);
return
;
}
/* Gang scheduling has been disabled by change in configuration,
* resume any suspended jobs */
extern
void
gs_wake_jobs
(
void
)
...
...
This diff is collapsed.
Click to expand it.
src/slurmctld/gang.h
+
0
−
4
View file @
3e03c3cb
...
...
@@ -57,10 +57,6 @@ extern void gs_fini(void);
* In either case, add the job to gang scheduling. */
extern
void
gs_job_start
(
struct
job_record
*
job_ptr
);
/* scan the master SLURM job list for any new jobs to add, or for any old jobs
* to remove */
extern
void
gs_job_scan
(
void
);
/* Notify the gang scheduler that a job has been suspended or completed.
* In either case, remove the job from gang scheduling. */
extern
void
gs_job_fini
(
struct
job_record
*
job_ptr
);
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment