[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [PATCH for-4.0 v3 0/6] NBD server alignment improvement
From: |
Eric Blake |
Subject: |
[Qemu-devel] [PATCH for-4.0 v3 0/6] NBD server alignment improvement |
Date: |
Thu, 28 Mar 2019 23:27:44 -0500 |
I'm tired of nbdkit being able to trigger an assertion failure
in qemu-img convert. Let's get this into 4.0-rc2.
Since v2:
- add more patches, including a respin of a separately-posted
nbd/client: Deal with unaligned size from server
- Don't make unaligned sector from server inaccessible; instead,
round our requests down and handle the tail locally
- fix another issue reported by Rich where 'qemu-img map' output
was less than stellar
Eric Blake (6):
iotests: Add 241 to test NBD on unaligned images
nbd/client: Lower min_block for block-status, unaligned size
nbd/client: Report offsets in bdrv_block_status
nbd/client: Support qemu-img convert from unaligned size
block: Add bdrv_get_request_alignment()
nbd/server: Advertise actual minimum block size
include/sysemu/block-backend.h | 1 +
block/block-backend.c | 7 ++++
block/nbd-client.c | 48 +++++++++++++++++++++--
block/nbd.c | 19 ++++++++-
nbd/server.c | 13 ++++---
tests/qemu-iotests/209.out | 4 +-
tests/qemu-iotests/223.out | 18 ++++-----
tests/qemu-iotests/241 | 70 ++++++++++++++++++++++++++++++++++
tests/qemu-iotests/241.out | 8 ++++
tests/qemu-iotests/group | 1 +
10 files changed, 169 insertions(+), 20 deletions(-)
create mode 100755 tests/qemu-iotests/241
create mode 100644 tests/qemu-iotests/241.out
--
2.20.1
- [Qemu-devel] [PATCH for-4.0 v3 0/6] NBD server alignment improvement,
Eric Blake <=