NBD server refactoring before BLOCK_STATUS
Get series with b4
b4 am [email protected]Versions newest first
- v2 Latest6 patches 10 repliesIn review
Changes in v2 from the cover letter
- original patch 4/5 now in a pull request
- replace original 2-3/5 with a single patch, giving more useful semantics to nbd_opt_drop/nbd_opt_read
- add a couple of other easy fixes while touching the file
Patches in v2 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/6 | nbd/server: Hoist nbd_reject_length() earliernbd/ | +28 | 1 reply | |
| 2/6 | nbd/server: refactor negotiation functions parametersnbd/ | +84 | 4 replies | |
| 3/6 | nbd/server: Better error for NBD_OPT_EXPORT_NAME failurenbd/ | +1 | 1 reply | |
| 4/6 | nbd/server: Add va_list form of nbd_negotiate_send_rep_err()nbd/ | +18 | 2 replies | |
| 5/6 | nbd/server: Add helper functions for parsing option payloadnbd/ | +63 | 2 replies | |
| 6/6 | nbd/server: structurize option reply sendingnbd/ | +13 | 0 replies |
Reviews trailers per patch
All 6 patches have a Reviewed-by or Acked-by.
| Patch | Eric Blake | Vladimir Sementsov-Ogievskiy |
|---|---|---|
| 1/6 | R-b | |
| 2/6 | R-b | |
| 3/6 | R-b | |
| 4/6 | R-b | |
| 5/6 | R-b | |
| 6/6 | 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 v2 0/6] NBD server refactoring before BLOCK_STATUS
This is my promised revision of Vladimir's v1 posted here:
https://lists.gnu.org/archive/html/qemu-devel/2017-11/msg04119.html
Sorry for my delay; it was due in part to an embargo while dealing with 2 bounds-check CVEs in the NBD code that I discovered while reviewing his v1 (fixed in time for 2.11), then waiting for the 2.12 tree to reopen, coupled with my holiday break. I'm hoping we can get actual BLOCK_STATUS code reviewed and applied much faster than this preliminary series has gone.
Based-on: <[email protected]>
Since v1:
- original patch 4/5 now in a pull request
- replace original 2-3/5 with a single patch, giving more useful semantics to nbd_opt_drop/nbd_opt_read
- add a couple of other easy fixes while touching the file
Eric Blake (4):
nbd/server: Hoist nbd_reject_length() earlier nbd/server: Better error for NBD_OPT_EXPORT_NAME failure nbd/server: Add va_list form of nbd_negotiate_send_rep_err() nbd/server: Add helper functions for parsing option payload
Vladimir Sementsov-Ogievskiy (2):
nbd/server: refactor negotiation functions parameters nbd/server: structurize option reply sending
nbd/server.c | 341 ++++++++++++++++++++++++++++++----------------------------- 1 file changed, 171 insertions(+), 170 deletions(-)
Signature · 1 line
2.14.3