qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] [PATCH 0/4 for-3.0?] NBD fixes for unaligned images
@ 2018-08-02 14:48 Eric Blake
  2018-08-02 14:48 ` [Qemu-devel] [PATCH 1/4] block: Add bdrv_get_request_alignment() Eric Blake
                   ` (4 more replies)
  0 siblings, 5 replies; 14+ messages in thread
From: Eric Blake @ 2018-08-02 14:48 UTC (permalink / raw)
  To: qemu-devel; +Cc: qemu-block, rjones

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

-- 
2.14.4

^ permalink raw reply	[flat|nested] 14+ messages in thread

end of thread, other threads:[~2018-09-10 19:56 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-08-02 14:48 [Qemu-devel] [PATCH 0/4 for-3.0?] NBD fixes for unaligned images Eric Blake
2018-08-02 14:48 ` [Qemu-devel] [PATCH 1/4] block: Add bdrv_get_request_alignment() Eric Blake
2018-08-17 13:41   ` Vladimir Sementsov-Ogievskiy
2018-08-02 14:48 ` [Qemu-devel] [PATCH 2/4] nbd/server: Advertise actual minimum block size Eric Blake
2018-08-17 13:49   ` Vladimir Sementsov-Ogievskiy
2018-08-17 14:53     ` Eric Blake
2018-08-17 15:04       ` Vladimir Sementsov-Ogievskiy
2018-08-17 15:11         ` Eric Blake
2018-08-02 14:48 ` [Qemu-devel] [PATCH 3/4] iotests: Add 228 to test NBD on unaligned images Eric Blake
2018-08-02 14:48 ` [Qemu-devel] [PATCH 4/4] nbd/client: Deal with unaligned size from server Eric Blake
2018-08-17 13:57   ` Vladimir Sementsov-Ogievskiy
2018-08-17 15:01     ` Eric Blake
2018-09-10 19:25 ` [Qemu-devel] [Qemu-block] [PATCH 0/4 for-3.0?] NBD fixes for unaligned images John Snow
2018-09-10 19:35   ` Eric Blake

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).