nbd-client: enter read_reply_co during init to avoid crash
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v2 Latest3 patches 3 repliesIn review
- v13 patches 11 repliesSuperseded
Changes in v2 from the cover letter
* Rewrote Patch 1 following Paolo's suggestion [Paolo]
Patches in v2 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/3 | nbd-client: avoid read_reply_co entry if send failedblock/ | +9 | 2 replies | |
| 2/3 | qemu-iotests: improve nbd-fault-injector.py startup protocoltests/ | +4 | 0 replies | |
| 3/3 | qemu-iotests: test NBD over UNIX domain sockets in 083tests/ tests/ tests/ | +215 | 0 replies |
Reviews trailers per patch
All 3 patches have a Reviewed-by or Acked-by.
| Patch | Eric Blake |
|---|---|
| 1/3 | R-b |
| 2/3 | R-b |
| 3/3 | 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/3] nbd-client: enter read_reply_co during init to avoid crash
v2:
* Rewrote Patch 1 following Paolo's suggestion [Paolo]
See Patch 1 for the segfault fix. Patches 2 & 3 add qemu-iotests coverage.
This is a rare crash that we'll probably only see in testing. It only seems to happen with UNIX domain sockets.
Stefan Hajnoczi (3):
nbd-client: avoid read_reply_co entry if send failed
qemu-iotests: improve nbd-fault-injector.py startup protocol
qemu-iotests: test NBD over UNIX domain sockets in 083
block/nbd-client.c | 25 ++---- tests/qemu-iotests/083 | 138 ++++++++++++++++++----------- tests/qemu-iotests/083.out | 145 +++++++++++++++++++++++++++---- tests/qemu-iotests/common.filter | 4 +- tests/qemu-iotests/nbd-fault-injector.py | 4 + 5 files changed, 228 insertions(+), 88 deletions(-)
Signature · 1 line
2.13.5