-
Notifications
You must be signed in to change notification settings - Fork 215
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat(blockstore): para shred pool / map and slice (entry batch) exec #4048
Conversation
d7fa911
to
ac06302
Compare
src/flamenco/runtime/fd_acc_mgr.c
Outdated
@@ -204,6 +204,7 @@ fd_acc_mgr_modify_raw( fd_acc_mgr_t * acc_mgr, | |||
fd_int_store_if( !!opt_err, opt_err, FD_ACC_MGR_ERR_UNKNOWN_ACCOUNT ); | |||
return NULL; | |||
} | |||
__asm__("int $3"); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
remove?
c1fd55e
to
c77a4a4
Compare
@@ -585,12 +586,13 @@ unprivileged_init( fd_topo_t * topo, | |||
strcmp( topo->links[ tile->out_link_id[ REPLAY_OUT_IDX ] ].name, "store_replay" ) || | |||
strcmp( topo->links[ tile->out_link_id[ REPAIR_OUT_IDX ] ].name, "store_repair" ) ) ) | |||
FD_LOG_ERR(( "store tile has none or unexpected output links %lu %s", | |||
tile->out_cnt, topo->links[ tile->out_link_id[ 0 ] ].name )); | |||
tile->out_cnt, topo->links[ tile->out_link_id[ 0 ] ].name ));; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
extra ;
int err = FD_MAP_ERR_AGAIN; | ||
while( err == FD_MAP_ERR_AGAIN ) { | ||
fd_buf_shred_map_query_t query[1] = { 0 }; | ||
err = fd_buf_shred_map_query_try( blockstore->shred_map, &key, NULL, query ); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think you also need to check here for FD_MAP_ERR_KEY etc, or else the following lines would segfault if the shred wasn't in the map.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
good catch
7408543
to
ed04be5
Compare
ee73764
to
8408baf
Compare
8408baf
to
1291ff9
Compare
1291ff9
to
5aea39c
Compare
030f411
to
fbbe91e
Compare
fbbe91e
to
8533b0a
Compare
No description provided.