nbd minimal structured read
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v6 Latest12 patches 13 repliesIn review
- v511 patches 18 repliesSuperseded
- v48 patches 22 repliesSuperseded
Patches in v6 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/12 | nbd: Include error names in trace messagesnbd/ nbd/ nbd/ +2 more | +30 | 0 replies | |
| 2/12 | nbd: Move nbd_errno_to_system_errno() to public headerinclude/ nbd/ nbd/ +2 more | +50 | 0 replies | |
| 3/12 | nbd: Expose constants and structs for structured readinclude/ nbd/ nbd/ +1 more | +71 | 0 replies | |
| 4/12 | nbd/server: Report error for write to read-only exportnbd/ | +2 | 0 replies | |
| 5/12 | nbd/server: Simplify nbd_negotiate_options loopnbd/ | +3 | 1 reply | |
| 6/12 | nbd/server: Refactor zero-length option checknbd/ | +46 | 3 replies | |
| 7/12 | nbd: Minimal structured read for servernbd/ nbd/ | +99 | 1 reply | |
| 8/12 | nbd/server: Include human-readable message in structured errorsnbd/ nbd/ | +14 | 0 replies | |
| 9/12 | nbd/client: refactor nbd_receive_starttlsnbd/ nbd/ | +49 | 1 reply | |
| 10/12 | nbd/client: prepare nbd_receive_reply for structured replyblock/ include/ nbd/ +1 more | +113 | 1 reply | |
| 11/12 | nbd: Move nbd_read() to common headerinclude/ nbd/ | +10 | 0 replies | |
| 12/12 | nbd: Minimal structured read for clientblock/ block/ include/ +3 more | +498 | 1 reply |
Reviews trailers per patch
8 of 12 patches have a Reviewed-by or Acked-by.
| Patch | Vladimir Sementsov-Ogievskiy |
|---|---|
| 1/12 | R-b |
| 2/12 | R-b |
| 3/12 | R-b |
| 4/12 | R-b |
| 5/12 | R-b |
| 6/12 | R-b |
| 7/12 | |
| 8/12 | R-b |
| 9/12 | |
| 10/12 | |
| 11/12 | R-b |
| 12/12 |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [Qemu-devel] [PATCH v6 00/12] nbd minimal structured read
I've incorporated a few more tweaks since v5, addressing the various bugs I pointed out there:
https://lists.gnu.org/archive/html/qemu-devel/2017-10/msg04817.html
- make sure iotests pass
- split a large patch
- consistently use absolute offsets
- clean up awkward logic in handling option requests
I plan to send a pull request before Tuesday's freeze deadline; with a plan to do lots of interoperability testing (including validation of behavior against a server that sends more than one chunk for a read), and with any resulting bug fixes trying to land as soon as possible during the freeze.
I'm also a bit disappointed that iotest 83 is more verbose. I'll post a follow RFC that undoes the verbosity regression, as evidence that we should probably be tracing things instead; such a cleanup would count as a bug fix, even if my pull request includes this series as-is.
001/12:[----] [--] 'nbd: Include error names in trace messages' 002/12:[----] [--] 'nbd: Move nbd_errno_to_system_errno() to public header' 003/12:[----] [--] 'nbd: Expose constants and structs for structured read' 004/12:[----] [--] 'nbd/server: Report error for write to read-only export' 005/12:[down] 'nbd/server: Simplify nbd_negotiate_options loop' 006/12:[0066] [FC] 'nbd/server: Refactor zero-length option check' 007/12:[0007] [FC] 'nbd: Minimal structured read for server' 008/12:[----] [--] 'nbd/server: Include human-readable message in structured errors' 009/12:[0004] [FC] 'nbd/client: refactor nbd_receive_starttls' 010/12:[----] [--] 'nbd/client: prepare nbd_receive_reply for structured reply' 011/12:[----] [--] 'nbd: Move nbd_read() to common header' 012/12:[0055] [FC] 'nbd: Minimal structured read for client'
Eric Blake (8):
nbd: Include error names in trace messages
nbd: Move nbd_errno_to_system_errno() to public header
nbd: Expose constants and structs for structured read nbd/server: Report error for write to read-only export nbd/server: Simplify nbd_negotiate_options loop nbd/server: Refactor zero-length option check nbd/server: Include human-readable message in structured errors
nbd: Move nbd_read() to common header
Vladimir Sementsov-Ogievskiy (4):
nbd: Minimal structured read for server nbd/client: refactor nbd_receive_starttls nbd/client: prepare nbd_receive_reply for structured reply
nbd: Minimal structured read for client
block/nbd-client.h | 1 + include/block/nbd.h | 106 +++++++++- nbd/nbd-internal.h | 23 +-- block/nbd-client.c | 492 ++++++++++++++++++++++++++++++++++++++++++--- nbd/client.c | 217 +++++++++++++------- nbd/common.c | 84 ++++++++ nbd/server.c | 209 ++++++++++++++----- nbd/trace-events | 15 +- tests/qemu-iotests/083.out | 15 ++ 9 files changed, 968 insertions(+), 194 deletions(-)
Signature · 1 line
2.13.6