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
83a857f2
Commit
83a857f2
authored
22 years ago
by
Moe Jette
Browse files
Options
Downloads
Patches
Plain Diff
Initial draft of slurmctld locking requirements
parent
38f23264
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
doc/txt/slurmctld.locks
+69
-0
69 additions, 0 deletions
doc/txt/slurmctld.locks
with
69 additions
and
0 deletions
doc/txt/slurmctld.locks
0 → 100644
+
69
−
0
View file @
83a857f2
slurmctld/controller.c
RPC's and required locks Moe Jette
============================================================================
Locks (in priority order): Config, Job, Node, Partition
RPC code Frequency Function to service
Locks needed
============================================================================
REQUEST_BUILD_INFO: Rare controller.c:fill_ctld_conf
Read Config
REQUEST_NODE_INFO: V Common node_mgr.c:pack_all_node
Read Node
REQUEST_JOB_INFO: V Common job_mgr.c:pack_all_jobs
Read Job
REQUEST_PARTITION_INFO: V Common partition_mgr.c:pack_all_part
Read Partition
REQUEST_RESOURCE_ALLOCATION : Common job_mgr.c:job_allocate
REQUEST_IMMEDIATE_RESOURCE_ALLOCATION : (Both use slurm_rpc_allocate_resources)
Read Node, Partition
Write Job
REQUEST_JOB_WILL_RUN : Common job_mgr.c:job_allocate
Read Node, Partition
Write Job
REQUEST_CANCEL_JOB_STEP: Common job_mgr.c:job_cancel or job_step_cancel
Write Job, Node
REQUEST_SUBMIT_BATCH_JOB: Common job_mgr.c:job_allocate
Read Config, Node, Partition
Write Job
MESSAGE_NODE_REGISTRATION_STATUS: Common node_mgr.c:validate_node_specs
Write Node
REQUEST_RECONFIGURE: V Rare read_config.c:read_slurm_conf
Write Config, Job, Node, Partition
REQUEST_UPDATE_JOB: Rare job_mgr.c:update_job
Write Job
Read Node
REQUEST_UPDATE_NODE: Rare node_mgr.c:update_node
Write Node
REQUEST_JOB_STEP_CREATE:
REQUEST_UPDATE_PARTITION: Rare partition_mgr.c:update_part
Write Partition
Read Node
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