Skip to content

Commit

Permalink
workloadgen: forcing the user to specify a data and journal.
Browse files Browse the repository at this point in the history
These default arguments, although handy when we just want to run the test,
just mess things up when we don't actually need them. If we don't specify
them on the CLI, we'll end up using the default ones, and that is just
annoying.

Signed-off-by: Joao Eduardo Luis <[email protected]>
  • Loading branch information
Joao Eduardo Luis committed May 8, 2012
1 parent f2a2a6e commit 772276c
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/test/filestore/workload_generator.cc
Original file line number Diff line number Diff line change
Expand Up @@ -555,10 +555,10 @@ int main(int argc, const char *argv[])

def_args.push_back("--osd-journal-size");
def_args.push_back("400");
def_args.push_back("--osd-data");
def_args.push_back("workload_gen_dir");
def_args.push_back("--osd-journal");
def_args.push_back("workload_gen_dir/journal");
// def_args.push_back("--osd-data");
// def_args.push_back("workload_gen_dir");
// def_args.push_back("--osd-journal");
// def_args.push_back("workload_gen_dir/journal");
argv_to_vec(argc, argv, args);

global_init(&def_args, args,
Expand Down

0 comments on commit 772276c

Please sign in to comment.