Remove a big of debug in filem/rsh that should have never been committed.
A guesture towards overlapping file removal with metadata update. This commit was SVN r16432.
Этот коммит содержится в:
родитель
31e9369e8b
Коммит
e483c36cea
@ -844,9 +844,6 @@ static int orte_filem_rsh_start_command(orte_filem_base_process_set_t *proc_set
|
|||||||
orte_filem_rsh_work_pool_item_t *wp_item = NULL;
|
orte_filem_rsh_work_pool_item_t *wp_item = NULL;
|
||||||
int ret;
|
int ret;
|
||||||
|
|
||||||
proc_set->source.vpid = 1;
|
|
||||||
proc_set->source.jobid = 0;
|
|
||||||
|
|
||||||
/* Construct a work pool item */
|
/* Construct a work pool item */
|
||||||
wp_item = OBJ_NEW(orte_filem_rsh_work_pool_item_t);
|
wp_item = OBJ_NEW(orte_filem_rsh_work_pool_item_t);
|
||||||
/* Copy the Process Set */
|
/* Copy the Process Set */
|
||||||
|
@ -1049,6 +1049,20 @@ static int snapc_full_global_gather_all_files(void) {
|
|||||||
goto cleanup;
|
goto cleanup;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/*
|
||||||
|
* Now that the files have been brought local, remove the remote copy
|
||||||
|
*/
|
||||||
|
for(item = opal_list_get_first( &all_filem_requests);
|
||||||
|
item != opal_list_get_end( &all_filem_requests);
|
||||||
|
item = opal_list_get_next( item) ) {
|
||||||
|
filem_request = (orte_filem_base_request_t *) item;
|
||||||
|
if(ORTE_SUCCESS != (ret = orte_filem.rm_nb(filem_request)) ) {
|
||||||
|
exit_status = ret;
|
||||||
|
/* Keep removing, eventually return an error */
|
||||||
|
continue;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Update all of the metadata
|
* Update all of the metadata
|
||||||
*/
|
*/
|
||||||
@ -1069,20 +1083,6 @@ static int snapc_full_global_gather_all_files(void) {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
|
||||||
* Now that the files have been brought local, remove the remote copy
|
|
||||||
*/
|
|
||||||
for(item = opal_list_get_first( &all_filem_requests);
|
|
||||||
item != opal_list_get_end( &all_filem_requests);
|
|
||||||
item = opal_list_get_next( item) ) {
|
|
||||||
filem_request = (orte_filem_base_request_t *) item;
|
|
||||||
if(ORTE_SUCCESS != (ret = orte_filem.rm_nb(filem_request)) ) {
|
|
||||||
exit_status = ret;
|
|
||||||
/* Keep removing, eventually return an error */
|
|
||||||
continue;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Wait for all the removes to complete
|
* Wait for all the removes to complete
|
||||||
*/
|
*/
|
||||||
|
Загрузка…
x
Ссылка в новой задаче
Block a user