commit
c7f2870004
|
@ -451,6 +451,16 @@ static IOR_offset_t S3_GetFileSize(aiori_mod_opt_t * options, char *testFileName
|
||||||
|
|
||||||
|
|
||||||
static int S3_check_params(aiori_mod_opt_t * options){
|
static int S3_check_params(aiori_mod_opt_t * options){
|
||||||
|
s3_options_t * o = (s3_options_t*) options;
|
||||||
|
if(o->access_key == NULL){
|
||||||
|
o->access_key = "";
|
||||||
|
}
|
||||||
|
if(o->secret_key == NULL){
|
||||||
|
o->secret_key = "";
|
||||||
|
}
|
||||||
|
if(o->host == NULL){
|
||||||
|
WARN("The S3 hostname should be specified");
|
||||||
|
}
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -890,16 +890,15 @@ mdworkbench_results_t* md_workbench_run(int argc, char ** argv, MPI_Comm world_c
|
||||||
exit(1);
|
exit(1);
|
||||||
}
|
}
|
||||||
|
|
||||||
if (o.backend->initialize){
|
|
||||||
o.backend->initialize(o.backend_options);
|
|
||||||
}
|
|
||||||
if(o.backend->xfer_hints){
|
if(o.backend->xfer_hints){
|
||||||
o.backend->xfer_hints(& o.hints);
|
o.backend->xfer_hints(& o.hints);
|
||||||
}
|
}
|
||||||
if(o.backend->check_params){
|
if(o.backend->check_params){
|
||||||
o.backend->check_params(o.backend_options);
|
o.backend->check_params(o.backend_options);
|
||||||
}
|
}
|
||||||
|
if (o.backend->initialize){
|
||||||
|
o.backend->initialize(o.backend_options);
|
||||||
|
}
|
||||||
|
|
||||||
int current_index = 0;
|
int current_index = 0;
|
||||||
|
|
||||||
|
|
|
@ -1981,16 +1981,16 @@ mdtest_results_t * mdtest_run(int argc, char **argv, MPI_Comm world_com, FILE *
|
||||||
MPI_Comm_rank(testComm, &rank);
|
MPI_Comm_rank(testComm, &rank);
|
||||||
MPI_Comm_size(testComm, &size);
|
MPI_Comm_size(testComm, &size);
|
||||||
|
|
||||||
if (backend->initialize){
|
|
||||||
backend->initialize(backend_options);
|
|
||||||
}
|
|
||||||
if(backend->xfer_hints){
|
if(backend->xfer_hints){
|
||||||
backend->xfer_hints(& hints);
|
backend->xfer_hints(& hints);
|
||||||
}
|
}
|
||||||
if(backend->check_params){
|
if(backend->check_params){
|
||||||
backend->check_params(backend_options);
|
backend->check_params(backend_options);
|
||||||
}
|
}
|
||||||
|
if (backend->initialize){
|
||||||
|
backend->initialize(backend_options);
|
||||||
|
}
|
||||||
|
|
||||||
pid = getpid();
|
pid = getpid();
|
||||||
uid = getuid();
|
uid = getuid();
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue