]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
erasure-code: fix erasure_code_benchmark goop (decode) 2472/head
authorLoic Dachary <loic-201408@dachary.org>
Fri, 12 Sep 2014 15:36:35 +0000 (17:36 +0200)
committerLoic Dachary <loic-201408@dachary.org>
Fri, 12 Sep 2014 15:46:41 +0000 (17:46 +0200)
commitce7b2ecc75441b9cbf339188dbe24b3cf54b7c46
treec7c443cd33e67f9d27555d7164b1a6438e474224
parent62ee5fc1f4baabe70022a3edf4052c96ee5c1065
erasure-code: fix erasure_code_benchmark goop (decode)

Using a stringstream that is only displayed on error when calling the
erasure code factory, instead of cerr. The user expects the output to be
clean when there is no error. That was done for the encode function but
not the decode function.

http://tracker.ceph.com/issues/9429 Fixes: #9429

Signed-off-by: Loic Dachary <loic-201408@dachary.org>
src/test/erasure-code/ceph_erasure_code_benchmark.cc