]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
common/obj_bencher.cc: make verify error fatal 7897/head
authorPiotr Dałek <piotr.dalek@ts.fujitsu.com>
Thu, 3 Mar 2016 10:30:53 +0000 (11:30 +0100)
committerPiotr Dałek <piotr.dalek@ts.fujitsu.com>
Thu, 3 Mar 2016 15:04:12 +0000 (16:04 +0100)
commit658bba85c488a38e25bc598637258c263f711631
treeffbfcefe455edefe5e7b21f8b014e4f3406eb921
parentcd4961581ac73152d8863dd9a0f25c08ed62a69c
common/obj_bencher.cc: make verify error fatal

When run without "--no-verify", all verification errors are noted,
but they are not forwarded/reported anywhere else but to cerr, which
will cause automated testing to ignore them. Make seq_read_bench and
rand_read_bench return -EIO on any verification error which will,
in turn, return it back to caller.

Fixes: #14971
Signed-off-by: Piotr Dałek <piotr.dalek@ts.fujitsu.com>
src/common/obj_bencher.cc