Skip to content

nbd-client: drop extra error noise

Vladimir Sementsov-Ogievskiy qemu-devel 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest3 patches 5 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3error: add error_get_hintinclude/qapi/error.h util/error.c+10 -01 reply
2/3nbd: publish _lookup functionsinclude/block/nbd.h nbd/nbd-internal.h+5 -51 reply
3/3block/nbd-client: use traces instead of noisy error_report_errblock/nbd-client.c block/trace-events tests/qemu-iotests/083.out+27 -322 replies

Reviews trailers per patch

2 of 3 patches have a Reviewed-by or Acked-by.

PatchEric Blake
1/3R-b
2/3R-b
3/3

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [Qemu-devel] [PATCH 0/3] nbd-client: drop extra error noise

Hi all.

It was discussed, that error messages, produced by error_reprt_err's, added in f140e300 are
1. not really needed
2. subject to race conditions

And it was decided to drop them (switch to trace-points), look thread
https://lists.gnu.org/archive/html/qemu-devel/2018-08/msg00833.html

So, I've also dropped error_report_err, added earlier in be41c100c0d and later in 78a33ab5878.

Hmm, I've tried to run 83 iotest in a loop, and it didn't fail, even before these patches.

Vladimir Sementsov-Ogievskiy (3):
error: add error_get_hint
nbd: publish _lookup functions
block/nbd-client: use traces instead of noisy error_report_err

 include/block/nbd.h        |  5 +++++
 include/qapi/error.h       |  5 +++++
 nbd/nbd-internal.h         |  5 -----
 block/nbd-client.c         | 27 +++++++++++++++++++++++----
 util/error.c               |  5 +++++
 block/trace-events         |  4 ++++
 tests/qemu-iotests/083.out | 28 ----------------------------
 7 files changed, 42 insertions(+), 37 deletions(-)
Signature · 1 line
2.18.0