Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
B
bake
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
8
Issues
8
List
Boards
Labels
Milestones
Merge Requests
2
Merge Requests
2
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
sds
bake
Commits
e6cabd10
Commit
e6cabd10
authored
Jul 29, 2016
by
Philip Carns
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
stub eager write rpc structs
parent
f6411a44
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
21 additions
and
1 deletion
+21
-1
src/bake-bulk-rpc.h
src/bake-bulk-rpc.h
+21
-1
No files found.
src/bake-bulk-rpc.h
View file @
e6cabd10
...
...
@@ -13,7 +13,6 @@
/* encoders for bake-specific types */
static
inline
hg_return_t
hg_proc_bake_target_id_t
(
hg_proc_t
proc
,
bake_target_id_t
*
bti
);
static
inline
hg_return_t
hg_proc_bake_bulk_region_id_t
(
hg_proc_t
proc
,
bake_bulk_region_id_t
*
rid
);
/* shutdown */
DECLARE_MARGO_RPC_HANDLER
(
bake_bulk_shutdown_ult
)
...
...
@@ -36,6 +35,21 @@ MERCURY_GEN_PROC(bake_bulk_write_out_t,
((
int32_t
)(
ret
)))
DECLARE_MARGO_RPC_HANDLER
(
bake_bulk_write_ult
)
/* bulk eager write */
typedef
struct
{
bake_target_id_t
bti
;
bake_bulk_region_id_t
rid
;
uint64_t
region_offset
;
uint32_t
size
;
char
*
buffer
;
}
bake_bulk_eager_write_in_t
;
static
inline
hg_return_t
hg_proc_bake_bulk_eager_write_in_t
(
hg_proc_t
proc
,
bake_bulk_eager_write_in_t
*
in
);
MERCURY_GEN_PROC
(
bake_bulk_eager_write_out_t
,
((
int32_t
)(
ret
)))
DECLARE_MARGO_RPC_HANDLER
(
bake_bulk_eager_write_ult
)
/* bulk persist */
MERCURY_GEN_PROC
(
bake_bulk_persist_in_t
,
((
bake_target_id_t
)(
bti
))
\
...
...
@@ -108,4 +122,10 @@ static inline hg_return_t hg_proc_bake_target_id_t(hg_proc_t proc, bake_target_i
return
(
hg_proc_raw
(
proc
,
bti
->
id
,
sizeof
(
bti
->
id
)));
}
static
inline
hg_return_t
hg_proc_bake_bulk_eager_write_in_t
(
hg_proc_t
proc
,
bake_bulk_eager_write_in_t
*
in
)
{
/* TODO: implement */
return
(
HG_SUCCESS
);
}
#endif
/* __BAKE_BULK_RPC */
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment