[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [PATCH for-4.0 v2 0/3] NBD server alignment improvement
From: |
Eric Blake |
Subject: |
[Qemu-devel] [PATCH for-4.0 v2 0/3] NBD server alignment improvement |
Date: |
Wed, 27 Mar 2019 17:39:18 -0500 |
v1 was here (yes, blast from the past):
https://lists.gnu.org/archive/html/qemu-devel/2018-08/msg00305.html
Since then:
- retitle the iotest (228 is now 241)
- rebase on top of other alignment fixes/workarounds that have
landed in meantime
- hoist test earlier, to demonstrate (according to which order you
compile things) whether the server fix, client workaround, or both
are in play
- enhance commit messages
- drop patch 4 from the earlier series (I still need to come up with
a more robust solution for avoiding the tail of an unaligned image)
Eric Blake (3):
iotests: Add 241 to test NBD on unaligned images
block: Add bdrv_get_request_alignment()
nbd/server: Advertise actual minimum block size
include/sysemu/block-backend.h | 1 +
block/block-backend.c | 7 ++++
nbd/server.c | 12 +++---
tests/qemu-iotests/241 | 71 ++++++++++++++++++++++++++++++++++
tests/qemu-iotests/241.out | 8 ++++
tests/qemu-iotests/group | 1 +
6 files changed, 95 insertions(+), 5 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 v2 0/3] NBD server alignment improvement,
Eric Blake <=
[Qemu-devel] [PATCH v2 2/3] block: Add bdrv_get_request_alignment(), Eric Blake, 2019/03/27