It is used instead of the obsoleted --parameter directory= to specify
the location of the erasure code directory plugins.
Signed-off-by: Loic Dachary <loic@dachary.org>
#!/bin/bash
#
+# Copyright (C) 2015 Red Hat <contact@redhat.com>
# Copyright (C) 2013,2014 Cloudwatt <libre.licensing@cloudwatt.com>
#
# Author: Loic Dachary <loic@dachary.org>
--erasures $erasures \
--parameter k=$k \
--parameter m=$m \
- --parameter directory=$PLUGIN_DIRECTORY)
+ --erasure-code-dir $PLUGIN_DIRECTORY)
result=$($command "$@")
echo -e "$result\t$plugin\t$k\t$m\t$workload\t$iterations\t$size\t$erasures\t$command ""$@"
}
* libtool --mode=execute valgrind --tool=memcheck --leak-check=full \
* ./ceph_erasure_code \
* --parameter plugin=jerasure \
- * --parameter directory=.libs \
* --parameter technique=reed_sol_van \
* --parameter k=2 \
* --parameter m=2 \
CINIT_FLAG_NO_DEFAULT_CONFIG_FILE);
common_init_finish(g_ceph_context);
g_ceph_context->_conf->apply_changes(NULL);
- g_conf->set_val("erasure_code_dir", ".libs", false, false);
if (vm.count("help")) {
cout << desc << std::endl;
* libtool --mode=execute valgrind --tool=memcheck --leak-check=full \
* ./ceph_erasure_code_non_regression \
* --plugin jerasure \
- * --parameter directory=.libs \
* --parameter technique=reed_sol_van \
* --parameter k=2 \
* --parameter m=2 \