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
ff058a00
Commit
ff058a00
authored
Dec 12, 2017
by
Shane Snyder
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
remove old code path
parent
cd929a55
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
14 deletions
+1
-14
src/bake-bulk-client.c
src/bake-bulk-client.c
+1
-14
No files found.
src/bake-bulk-client.c
View file @
ff058a00
...
@@ -369,21 +369,11 @@ int bake_bulk_proxy_write(
...
@@ -369,21 +369,11 @@ int bake_bulk_proxy_write(
bake_bulk_write_in_t
in
;
bake_bulk_write_in_t
in
;
bake_bulk_write_out_t
out
;
bake_bulk_write_out_t
out
;
struct
bake_instance
*
instance
=
NULL
;
struct
bake_instance
*
instance
=
NULL
;
#if 0
char remote_addr_str[128] = {0};
hg_size_t remote_addr_str_sz = 128;
#endif
int
ret
;
int
ret
;
HASH_FIND
(
hh
,
instance_hash
,
&
bti
,
sizeof
(
bti
),
instance
);
HASH_FIND
(
hh
,
instance_hash
,
&
bti
,
sizeof
(
bti
),
instance
);
if
(
!
instance
)
if
(
!
instance
)
return
(
-
1
);
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
.
bti
=
bti
;
in
.
rid
=
rid
;
in
.
rid
=
rid
;
...
@@ -391,11 +381,8 @@ int bake_bulk_proxy_write(
...
@@ -391,11 +381,8 @@ int bake_bulk_proxy_write(
in
.
bulk_handle
=
remote_bulk
;
in
.
bulk_handle
=
remote_bulk
;
in
.
bulk_offset
=
remote_offset
;
in
.
bulk_offset
=
remote_offset
;
in
.
bulk_size
=
size
;
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
;
in
.
remote_addr_str
=
(
char
*
)
remote_addr
;
#endif
hret
=
margo_create
(
g_margo_inst
.
mid
,
instance
->
dest
,
hret
=
margo_create
(
g_margo_inst
.
mid
,
instance
->
dest
,
g_margo_inst
.
bake_bulk_write_id
,
&
handle
);
g_margo_inst
.
bake_bulk_write_id
,
&
handle
);
if
(
hret
!=
HG_SUCCESS
)
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