Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
maestro-core
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
Container registry
Model registry
Analyze
Contributor analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
maestro
maestro-core
Commits
c2e8a543
Commit
c2e8a543
authored
3 years ago
by
Christopher Haine
Browse files
Options
Downloads
Patches
Plain Diff
implicit MIO transport if guided IO attribute set
parent
029687e8
No related branches found
No related tags found
1 merge request
!13
Draft: Resolve "Job Failed #282354 -- needs update of MIO interface and build rules"
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
maestro/pool_client.c
+16
-0
16 additions, 0 deletions
maestro/pool_client.c
with
16 additions
and
0 deletions
maestro/pool_client.c
+
16
−
0
View file @
c2e8a543
...
...
@@ -456,6 +456,22 @@ mstro_pc__handle_initiate_transfer(const Mstro__Pool__InitiateTransfer* init)
DEBUG
(
"Source CDO empty, doing NULL transfer
\n
"
);
realsize
=
0
;
}
mstro_status
swhere
=
MSTRO_UNIMPL
;
mstro_status
shot
=
MSTRO_UNIMPL
;
const
void
*
hint_where_ptr
=
NULL
;
swhere
=
mstro_attribute_dict_get
(
src_cdo
->
attributes
,
".maestro.core.cdo.mio.hint.where"
,
&
vt
,
&
hint_where_ptr
,
NULL
,
false
);
const
void
*
hint_hot_ptr
=
NULL
;
shot
=
mstro_attribute_dict_get
(
src_cdo
->
attributes
,
".maestro.core.cdo.mio.hint.hot-index"
,
&
vt
,
&
hint_hot_ptr
,
NULL
,
false
);
if
(
swhere
==
MSTRO_OK
||
shot
==
MSTRO_OK
)
{
init
->
methods
->
supported
[
0
]
=
MSTRO__POOL__TRANSPORT_KIND__MIO
;
DEBUG
(
"MIO guided IO attribute set, implicitly switching to MIO transport
\n
"
);
}
if
(
init
->
methods
->
supported
[
0
]
==
MSTRO__POOL__TRANSPORT_KIND__MIO
&&
(
!
g_mio_available
||
(
realsize
%
getpagesize
())
!=
0
)
){
...
...
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