]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
tests: add --{show_,}path to ceph_erasure_code_non_regression
authorLoic Dachary <ldachary@redhat.com>
Sun, 31 May 2015 11:11:34 +0000 (13:11 +0200)
committerLoic Dachary <ldachary@redhat.com>
Sat, 6 Jun 2015 22:15:05 +0000 (00:15 +0200)
commit864e2007d98da1b4815e99307614b9f340c07035
treea9b0c42b121fd62dbbc20bfdc5c0651125c3bed3
parent1d60786c39cc08c578de2fa8c9109799febace0c
tests: add --{show_,}path to ceph_erasure_code_non_regression

The directory in which the payload is stored is created from the plugin
parameters. The --show-path shows the directory and exits. This
directory can then be used with --path to override the path created from
the plugin parameters. This is useful to verifying that the jerasure
variant optimized with AVX, SSE4 etc. instructions can be used on the
same payload and show no difference at all. In this case the directory
used by the default jerasure variant is used for each variant and the
parameter that sets the variant to use ( --parameters jerasure-variant )
must not be taken into account to figure out the location of the
payload.

http://tracker.ceph.com/issues/9720 Refs: #9720

Signed-off-by: Loic Dachary <ldachary@redhat.com>
src/test/erasure-code/ceph_erasure_code_non_regression.cc