NBD fixes for unaligned images
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest4 patches 9 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/4 | block: Add bdrv_get_request_alignment()block/ include/ | +8 | 1 reply | |
| 2/4 | nbd/server: Advertise actual minimum block sizenbd/ | +6 | 4 replies | |
| 3/4 | iotests: Add 228 to test NBD on unaligned imagestests/ tests/ tests/ | +105 | 0 replies | |
| 4/4 | nbd/client: Deal with unaligned size from serverblock/ | +10 | 2 replies |
Reviews trailers per patch
2 of 4 patches have a Reviewed-by or Acked-by.
| Patch | Vladimir Sementsov-Ogievskiy |
|---|---|
| 1/4 | R-b |
| 2/4 | |
| 3/4 | |
| 4/4 | 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 0/4 for-3.0?] NBD fixes for unaligned images
Rich reported a bug when using qemu as client to nbdkit serving a non-sector-aligned image; in turn, I found a second bug with qemu as server of such an image.
Both bugs were present in 2.12, and thus are not new regressions in 3.0. If there is a reason to spin -rc4, then these could be included; but this series alone is not a driving reason to cause -rc4.
Eric Blake (4):
block: Add bdrv_get_request_alignment() nbd/server: Advertise actual minimum block size
iotests: Add 228 to test NBD on unaligned images nbd/client: Deal with unaligned size from server
include/sysemu/block-backend.h | 1 + block/block-backend.c | 7 +++ block/nbd.c | 11 ++++- nbd/server.c | 10 +++-- tests/qemu-iotests/228 | 96 ++++++++++++++++++++++++++++++++++++++++++ tests/qemu-iotests/228.out | 8 ++++ tests/qemu-iotests/group | 1 + 7 files changed, 129 insertions(+), 5 deletions(-) create mode 100755 tests/qemu-iotests/228 create mode 100644 tests/qemu-iotests/228.out
Signature · 1 line
2.14.4