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
46a491ed
Commit
46a491ed
authored
6 years ago
by
Tim Wickberg
Browse files
Options
Downloads
Patches
Plain Diff
Remove plugrack_{read,write}_cache().
These have been awaiting an implementation since 2003.
parent
b1537a90
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/common/plugrack.c
+0
-20
0 additions, 20 deletions
src/common/plugrack.c
src/common/plugrack.h
+0
-17
0 additions, 17 deletions
src/common/plugrack.h
with
0 additions
and
37 deletions
src/common/plugrack.c
+
0
−
20
View file @
46a491ed
...
...
@@ -472,16 +472,6 @@ _match_major ( const char *path_name, const char *major_type )
return
true
;
}
int
plugrack_read_cache
(
plugrack_t
rack
,
const
char
*
cache_file
)
{
/* Don't care for now. */
return
SLURM_ERROR
;
}
int
plugrack_purge_idle
(
plugrack_t
rack
)
{
...
...
@@ -525,16 +515,6 @@ plugrack_load_all( plugrack_t rack )
return
SLURM_SUCCESS
;
}
int
plugrack_write_cache
(
plugrack_t
rack
,
const
char
*
cache
)
{
/* Not implemented. */
return
SLURM_SUCCESS
;
}
plugin_handle_t
plugrack_use_by_type
(
plugrack_t
rack
,
const
char
*
full_type
)
...
...
This diff is collapsed.
Click to expand it.
src/common/plugrack.h
+
0
−
17
View file @
46a491ed
...
...
@@ -122,15 +122,6 @@ int plugrack_set_paranoia( plugrack_t rack,
int
plugrack_read_dir
(
plugrack_t
rack
,
const
char
*
dir
);
/*
* Add plugins to the rack by reading the given cache. Note that plugins
* may not actually load, but the rack will be made aware of them.
*
* NOT CURRENTLY IMPLEMENTED.
*/
int
plugrack_read_cache
(
plugrack_t
rack
,
const
char
*
cache
);
/*
* Remove from memory all plugins that are not currently in use by the
* program.
...
...
@@ -146,14 +137,6 @@ int plugrack_purge_idle( plugrack_t rack );
*/
int
plugrack_load_all
(
plugrack_t
rack
);
/*
* Write the current contents of the plugin rack to a file
* in cache format, suitable to be read later using plugrack_read_cache().
*
* Returns a Slurm errno.
*/
int
plugrack_write_cache
(
plugrack_t
rack
,
const
char
*
cache
);
/*
* Find a plugin in the rack which matches the given minor type,
* load it if necessary, and return a handle to it.
...
...
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