nbd errors and traces refactoring
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest19 patches 32 repliesIn review
Patches in v1 No applies recorded yet
Reviews trailers per patch
10 of 19 patches have a Reviewed-by or Acked-by.
| Patch | Eric Blake |
|---|---|
| 1/19 | |
| 2/19 | R-b |
| 3/19 | R-b |
| 4/19 | R-b |
| 5/19 | R-b |
| 6/19 | R-b |
| 7/19 | R-b |
| 8/19 | R-b |
| 9/19 | R-b |
| 10/19 | R-b |
| 11/19 | |
| 12/19 | |
| 13/19 | R-b |
| 14/19 | |
| 15/19 | |
| 16/19 | |
| 17/19 | |
| 18/19 | |
| 19/19 |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [Qemu-devel] [PATCH 00/19] nbd errors and traces refactoring
This is based on my "nbd: error path refactoring" series.
These series bring errp instead of LOG to the server too, making some related refactorings.
nbd_negotiate_read and friends a dropped as was discussed in "nbd: error path refactoring" thread.
finally - refactor traces to modern way too, to get rid of LOG() macro at all.
Patches subgroup 01-x, where x <= 10 may be pushed as separate series, as they are general enough.
11-14 needed to not create error-output on non-error disconnects in 15 16 is good addition for 15
17 is addition for 15 and in the same time prerequisite for 19
patches 18-19 may be pushed separately (but of course after 01-17 and 19 after 18)
Vladimir Sementsov-Ogievskiy (19):
nbd/server: get rid of nbd_negotiate_read and friends nbd/server: get rid of ssize_t
nbd/server: refactor nbd_co_send_reply
nbd/server: get rid of EAGAIN dead code
nbd/server: refactor nbd_co_receive_request
nbd/server: remove NBDClientNewData
nbd/server: nbd_negotiate: fix error path
nbd/server: get rid of fail: return rc
nbd/server: rename rc to ret
nbd/server: refactor nbd_trip
io/channel-socket: qio_channel_socket_writev handle EPIPE nbd/common: nbd_wr_syncv handle QIO_CHANNEL_ERR_EPIPE nbd/server: return original error codes
nbd/server: nbd_negotiate: return 1 on NBD_OPT_ABORT nbd/server: use errp instead of LOG
nbd/server: add errp to nbd_send_reply()
nbd/common: nbd_tls_handshake: use error_reportf_err instead of TRACE nbd/client: refactor TRACE of NBD_MAGIC
nbd: use generic trace subsystem instead of TRACE macro
Makefile.objs | 1 + include/io/channel.h | 1 + io/channel-socket.c | 2 +- nbd/client.c | 127 ++++------ nbd/common.c | 30 ++- nbd/nbd-internal.h | 21 +- nbd/server.c | 670 ++++++++++++++++++++++++--------------------------- nbd/trace-events | 67 ++++++ 8 files changed, 471 insertions(+), 448 deletions(-) create mode 100644 nbd/trace-events
Signature · 1 line
2.11.1