[Qemu-devel] [PATCH for-4.0 v2 0/3] NBD server alignment improvement

Eric Blake posted 3 patches 5 years ago
Patches applied successfully (tree, apply log)
git fetch https://github.com/patchew-project/qemu tags/patchew/20190327223921.32601-1-eblake@redhat.com
Test docker-mingw@fedora passed
Test docker-clang@ubuntu passed
Test checkpatch passed
Test asan passed
Maintainers: Kevin Wolf <kwolf@redhat.com>, Max Reitz <mreitz@redhat.com>, Eric Blake <eblake@redhat.com>
There is a newer version of this series
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
[Qemu-devel] [PATCH for-4.0 v2 0/3] NBD server alignment improvement
Posted by Eric Blake 5 years ago
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