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
50286191
Commit
50286191
authored
9 years ago
by
Danny Auble
Browse files
Options
Downloads
Plain Diff
Merge remote-tracking branch 'origin/slurm-15.08'
parents
a862aa15
72f13426
No related branches found
No related tags found
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
NEWS
+2
-0
2 additions, 0 deletions
NEWS
src/common/file_bcast.c
+4
-0
4 additions, 0 deletions
src/common/file_bcast.c
src/plugins/accounting_storage/slurmdbd/accounting_storage_slurmdbd.c
+6
-18
6 additions, 18 deletions
...accounting_storage/slurmdbd/accounting_storage_slurmdbd.c
with
12 additions
and
18 deletions
NEWS
+
2
−
0
View file @
50286191
...
@@ -146,6 +146,8 @@ documents those changes that are of interest to users and administrators.
...
@@ -146,6 +146,8 @@ documents those changes that are of interest to users and administrators.
slurmstepd to close potential open ones.
slurmstepd to close potential open ones.
-- Step GRES value changed from type "int" to "int64_t" to support larger
-- Step GRES value changed from type "int" to "int64_t" to support larger
values.
values.
-- Fix getting reservations to database when database is down.
-- Fix issue with sbcast not doing a correct fanout.
* Changes in Slurm 15.08.8
* Changes in Slurm 15.08.8
==========================
==========================
...
...
This diff is collapsed.
Click to expand it.
src/common/file_bcast.c
+
4
−
0
View file @
50286191
...
@@ -366,6 +366,10 @@ static int _bcast_file(struct bcast_parameters *params)
...
@@ -366,6 +366,10 @@ static int _bcast_file(struct bcast_parameters *params)
bcast_msg
.
mtime
=
0
;
bcast_msg
.
mtime
=
0
;
}
}
if
(
!
params
->
fanout
)
params
->
fanout
=
MAX_THREADS
;
slurm_set_tree_width
(
MIN
(
MAX_THREADS
,
params
->
fanout
));
while
(
1
)
{
while
(
1
)
{
block_len
=
_get_block
(
params
,
buffer
,
buf_size
);
block_len
=
_get_block
(
params
,
buffer
,
buf_size
);
if
(
block_len
<
0
)
if
(
block_len
<
0
)
...
...
This diff is collapsed.
Click to expand it.
src/plugins/accounting_storage/slurmdbd/accounting_storage_slurmdbd.c
+
6
−
18
View file @
50286191
...
@@ -763,7 +763,7 @@ extern int acct_storage_p_add_reservation(void *db_conn,
...
@@ -763,7 +763,7 @@ extern int acct_storage_p_add_reservation(void *db_conn,
{
{
slurmdbd_msg_t
req
;
slurmdbd_msg_t
req
;
dbd_rec_msg_t
get_msg
;
dbd_rec_msg_t
get_msg
;
int
rc
,
resp_code
=
SLURM_SUCCESS
;
int
rc
;
memset
(
&
get_msg
,
0
,
sizeof
(
dbd_rec_msg_t
));
memset
(
&
get_msg
,
0
,
sizeof
(
dbd_rec_msg_t
));
get_msg
.
rec
=
resv
;
get_msg
.
rec
=
resv
;
...
@@ -771,11 +771,7 @@ extern int acct_storage_p_add_reservation(void *db_conn,
...
@@ -771,11 +771,7 @@ extern int acct_storage_p_add_reservation(void *db_conn,
req
.
msg_type
=
DBD_ADD_RESV
;
req
.
msg_type
=
DBD_ADD_RESV
;
req
.
data
=
&
get_msg
;
req
.
data
=
&
get_msg
;
rc
=
slurm_send_slurmdbd_recv_rc_msg
(
SLURM_PROTOCOL_VERSION
,
rc
=
slurm_send_slurmdbd_msg
(
SLURM_PROTOCOL_VERSION
,
&
req
);
&
req
,
&
resp_code
);
if
(
resp_code
!=
SLURM_SUCCESS
)
rc
=
resp_code
;
return
rc
;
return
rc
;
}
}
...
@@ -1134,18 +1130,14 @@ extern int acct_storage_p_modify_reservation(void *db_conn,
...
@@ -1134,18 +1130,14 @@ extern int acct_storage_p_modify_reservation(void *db_conn,
{
{
slurmdbd_msg_t
req
;
slurmdbd_msg_t
req
;
dbd_rec_msg_t
get_msg
;
dbd_rec_msg_t
get_msg
;
int
rc
,
resp_code
=
SLURM_SUCCESS
;
int
rc
;
memset
(
&
get_msg
,
0
,
sizeof
(
dbd_rec_msg_t
));
memset
(
&
get_msg
,
0
,
sizeof
(
dbd_rec_msg_t
));
get_msg
.
rec
=
resv
;
get_msg
.
rec
=
resv
;
req
.
msg_type
=
DBD_MODIFY_RESV
;
req
.
msg_type
=
DBD_MODIFY_RESV
;
req
.
data
=
&
get_msg
;
req
.
data
=
&
get_msg
;
rc
=
slurm_send_slurmdbd_recv_rc_msg
(
SLURM_PROTOCOL_VERSION
,
rc
=
slurm_send_slurmdbd_msg
(
SLURM_PROTOCOL_VERSION
,
&
req
);
&
req
,
&
resp_code
);
if
(
resp_code
!=
SLURM_SUCCESS
)
rc
=
resp_code
;
return
rc
;
return
rc
;
}
}
...
@@ -1506,7 +1498,7 @@ extern int acct_storage_p_remove_reservation(void *db_conn,
...
@@ -1506,7 +1498,7 @@ extern int acct_storage_p_remove_reservation(void *db_conn,
{
{
slurmdbd_msg_t
req
;
slurmdbd_msg_t
req
;
dbd_rec_msg_t
get_msg
;
dbd_rec_msg_t
get_msg
;
int
rc
,
resp_code
=
SLURM_SUCCESS
;
int
rc
;
memset
(
&
get_msg
,
0
,
sizeof
(
dbd_rec_msg_t
));
memset
(
&
get_msg
,
0
,
sizeof
(
dbd_rec_msg_t
));
get_msg
.
rec
=
resv
;
get_msg
.
rec
=
resv
;
...
@@ -1514,11 +1506,7 @@ extern int acct_storage_p_remove_reservation(void *db_conn,
...
@@ -1514,11 +1506,7 @@ extern int acct_storage_p_remove_reservation(void *db_conn,
req
.
msg_type
=
DBD_REMOVE_RESV
;
req
.
msg_type
=
DBD_REMOVE_RESV
;
req
.
data
=
&
get_msg
;
req
.
data
=
&
get_msg
;
rc
=
slurm_send_slurmdbd_recv_rc_msg
(
SLURM_PROTOCOL_VERSION
,
rc
=
slurm_send_slurmdbd_msg
(
SLURM_PROTOCOL_VERSION
,
&
req
);
&
req
,
&
resp_code
);
if
((
rc
==
SLURM_SUCCESS
)
&&
(
resp_code
!=
SLURM_SUCCESS
))
rc
=
resp_code
;
return
rc
;
return
rc
;
}
}
...
...
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