Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
sds
bake
Commits
ff058a00
Commit
ff058a00
authored
Dec 12, 2017
by
Shane Snyder
Browse files
remove old code path
parent
cd929a55
Changes
1
Show whitespace changes
Inline
Side-by-side
src/bake-bulk-client.c
View file @
ff058a00
...
...
@@ -369,21 +369,11 @@ int bake_bulk_proxy_write(
bake_bulk_write_in_t
in
;
bake_bulk_write_out_t
out
;
struct
bake_instance
*
instance
=
NULL
;
#if 0
char remote_addr_str[128] = {0};
hg_size_t remote_addr_str_sz = 128;
#endif
int
ret
;
HASH_FIND
(
hh
,
instance_hash
,
&
bti
,
sizeof
(
bti
),
instance
);
if
(
!
instance
)
return
(
-
1
);
#if 0
hret = margo_addr_to_string(g_margo_inst.mid, remote_addr_str,
&remote_addr_str_sz, remote_addr);
if(hret != HG_SUCCESS)
return(-1);
#endif
in
.
bti
=
bti
;
in
.
rid
=
rid
;
...
...
@@ -391,11 +381,8 @@ int bake_bulk_proxy_write(
in
.
bulk_handle
=
remote_bulk
;
in
.
bulk_offset
=
remote_offset
;
in
.
bulk_size
=
size
;
#if 0
in.remote_addr_str = remote_addr_str; /* enable proxy write to remote source */
#else
in
.
remote_addr_str
=
(
char
*
)
remote_addr
;
#endif
hret
=
margo_create
(
g_margo_inst
.
mid
,
instance
->
dest
,
g_margo_inst
.
bake_bulk_write_id
,
&
handle
);
if
(
hret
!=
HG_SUCCESS
)
...
...
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