nbd refactoring part 2
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v3 Latest10 patches 9 repliesIn review
- v2 posting 2/26 patches 21 repliesSuperseded
- v2 posting 1/212 patches 3 repliesSuperseded
Earlier versions · 1
| Version | Posted | Patches | Replies | Status |
|---|---|---|---|---|
| v1 | 12 patches | 10 replies | Superseded |
Changes in v3 from the cover letter
01: reword commit message
add Eric's r-b
s/legal/value/
02: new patch (proposed by Eric)
03: rebased on 02
04,05: add Eric's r-b
06: do not remove extra empty line
do not add additional var nbd_magic (reuse existent magic) use ldq_be_p to reduce memory copying
07,08: new patches
09: new patch, split out 'behavior changing' part of 09, apply most of
comments by Eric and Max, some other changes
10: rebased on 08, now more 'mechanical', may be some changes in text
messages of traces are left here.
Patches in v3 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/10 | nbd/server: nbd_negotiate: return 1 on NBD_OPT_ABORTnbd/ | +15 | 0 replies | |
| 2/10 | nbd/server: refactor nbd_negotiatenbd/ | +3 | 1 reply | |
| 3/10 | nbd/server: use errp instead of LOGnbd/ | +160 | 1 reply | |
| 4/10 | nbd/server: add errp to nbd_send_reply()nbd/ | +9 | 0 replies | |
| 5/10 | nbd/common: nbd_tls_handshake: remove extra TRACEnbd/ | +1 | 0 replies | |
| 6/10 | nbd/client: refactor TRACE of NBD_MAGICnbd/ | +2 | 1 reply | |
| 7/10 | nbd/server: fix TRACE in nbd_negotiate_send_rep_lennbd/ | +1 | 1 reply | |
| 8/10 | nbd/server: rename clientflags var in nbd_negotiate_optionsnbd/ | +19 | 1 reply | |
| 9/10 | nbd: refactor tracingnbd/ nbd/ | +9 | 1 reply | |
| 10/10 | nbd: use generic trace subsystem instead of TRACE macroMakefile.objs nbd/ nbd/ +2 more | +121 | 3 replies |
Reviews trailers per patch
All 10 patches have a Reviewed-by or Acked-by.
| Patch | Eric Blake |
|---|---|
| 1/10 | R-b |
| 2/10 | R-b |
| 3/10 | R-b |
| 4/10 | R-b |
| 5/10 | R-b |
| 6/10 | R-b |
| 7/10 | R-b |
| 8/10 | R-b |
| 9/10 | R-b |
| 10/10 | R-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [Qemu-devel] [PATCH v3 00/10] nbd refactoring part 2
This is last part of "nbd errors and traces refactoring".
Patches 01-10 from "nbd errors and traces refactoring" are already merged. Patches 11-13 from it are rejected - do not regret them.
So, these series is update of 14-19 patches from "nbd errors and traces refactoring"
v3:
01: reword commit message
add Eric's r-b
s/legal/value/
02: new patch (proposed by Eric)
03: rebased on 02
04,05: add Eric's r-b
06: do not remove extra empty line
do not add additional var nbd_magic (reuse existent magic) use ldq_be_p to reduce memory copying
07,08: new patches
09: new patch, split out 'behavior changing' part of 09, apply most of
comments by Eric and Max, some other changes
10: rebased on 08, now more 'mechanical', may be some changes in text
messages of traces are left here.
v2:
01: EPIPE not handled
imporve comments
02: rebased on absence of old patch 13, errors are not saved into
separate ret variable
TRACE on fail of sending NBD_REP_ACK reply to NBD_OPT_ABORT instead of error propagating and EPIPE handling
03: fix error_prepend
04: just remove this TRACE
05: just trace nbd magic as 64bit number
06: improve commit message
simplify trace_nbd_receive_negotiate_server_flags - do not trace separate flags
add trace_nbd_opt_abort_reply_failed
remove tail periods from traces
Vladimir Sementsov-Ogievskiy (10):
nbd/server: nbd_negotiate: return 1 on NBD_OPT_ABORT nbd/server: refactor nbd_negotiate
nbd/server: use errp instead of LOG
nbd/server: add errp to nbd_send_reply() nbd/common: nbd_tls_handshake: remove extra TRACE nbd/client: refactor TRACE of NBD_MAGIC nbd/server: fix TRACE in nbd_negotiate_send_rep_len nbd/server: rename clientflags var in nbd_negotiate_options
nbd: refactor tracing
nbd: use generic trace subsystem instead of TRACE macro
Makefile.objs | 1 + nbd/client.c | 82 +++++------ nbd/common.c | 4 +- nbd/nbd-internal.h | 19 --- nbd/server.c | 398 +++++++++++++++++++++++++++++------------------------ nbd/trace-events | 58 ++++++++ 6 files changed, 312 insertions(+), 250 deletions(-) create mode 100644 nbd/trace-events
Signature · 1 line
2.11.1