Project

General

Profile

Feature #14971

common/obj_bencher.cc: make verify error fatal

Added by Loic Dachary over 3 years ago. Updated almost 3 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
Category:
-
Target version:
-
Start date:
03/03/2016
Due date:
% Done:

0%

Source:
other
Tags:
Backport:
hammer,infernalis
Reviewed:
Affected Versions:
Pull request ID:

Related issues

Copied to Ceph - Backport #14973: infernalis: common/obj_bencher.cc: make verify error fatal Resolved
Copied to Ceph - Backport #14974: hammer: common/obj_bencher.cc: make verify error fatal Resolved

Associated revisions

Revision 658bba85 (diff)
Added by Piotr Dałek over 3 years ago

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 <>

History

#1 Updated by Piotr Dalek over 3 years ago

  • Status changed from In Progress to Need Review

#2 Updated by Piotr Dalek over 3 years ago

  • Assignee changed from Piotr Dalek to Loic Dachary

#3 Updated by Loic Dachary over 3 years ago

  • Status changed from Need Review to Pending Backport

#4 Updated by Loic Dachary over 3 years ago

  • Copied to Backport #14973: infernalis: common/obj_bencher.cc: make verify error fatal added

#5 Updated by Loic Dachary over 3 years ago

  • Copied to Backport #14974: hammer: common/obj_bencher.cc: make verify error fatal added

#6 Updated by Loic Dachary almost 3 years ago

  • Status changed from Pending Backport to Resolved

Also available in: Atom PDF