Triton Repository branch, master, updated. 5971f790f31382d5954067f9853eb4b57b3762a1
This is an automated email from the git hooks/post-receive script. It was generated because a ref change was pushed to the repository containing the project "Triton Repository". The branch, master has been updated via 5971f790f31382d5954067f9853eb4b57b3762a1 (commit) from 82348badeab966b2a19616a5343365a477a6305d (commit) Those revisions listed above that are new to this repository have not appeared on any other notification email; so we list those revisions in full, below. - Log ----------------------------------------------------------------- commit 5971f790f31382d5954067f9853eb4b57b3762a1 Author: Phil Carns <[email protected]> Date: Tue Mar 20 16:53:55 2012 -0400 init signal resource so we can ctrl-c benchmarks ----------------------------------------------------------------------- Summary of changes: code/src/transactional-osd/tests/tosd-bench-idb.ae | 5 ++++- 1 files changed, 4 insertions(+), 1 deletions(-) Diff of changes: diff --git a/code/src/transactional-osd/tests/tosd-bench-idb.ae b/code/src/transactional-osd/tests/tosd-bench-idb.ae index 3ecbe6f..b606476 100644 --- a/code/src/transactional-osd/tests/tosd-bench-idb.ae +++ b/code/src/transactional-osd/tests/tosd-bench-idb.ae @@ -7,6 +7,7 @@ #include "src/aesop/aesop.h" #include "src/transactional-osd/transactional-osd.hae" #include "src/zeroconf/zeroconf.h" +#include "src/common/resources/signal/signal.hae" enum op_type { @@ -159,6 +160,8 @@ __blocking int aesop_main(int argc, char **argv) struct bench_op* tmp_op; int i; + triton_signal_init (); + ret = sscanf(argv[3], "%d", &concurrent); if(ret != 1 || concurrent < 1) { @@ -239,7 +242,7 @@ static triton_ret_t init_tosd_zeroconf_params(int argc, char** argv) if(argc != 5) { fprintf(stderr, "Usage: tosd-bench-concurrent <workload description file> <dir> <concurrency> <move data y|n>\n"); - return(-1); + return(TRITON_ERR_INVAL); } tret = triton_zeroconf_set("triton.tosd.db_path", argv[2]); hooks/post-receive -- Triton Repository
participants (1)
-
noreply@mcs.anl.gov