[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [PULL 00/14] NBD patches for 4.0-rc2
From: |
Eric Blake |
Subject: |
[Qemu-devel] [PULL 00/14] NBD patches for 4.0-rc2 |
Date: |
Mon, 1 Apr 2019 09:08:49 -0500 |
The following changes since commit 230ce19814ecc6bff8edac3b5b86e7c82f422c6c:
Merge remote-tracking branch 'remotes/rth/tags/pull-axp-20190325' into
staging (2019-03-29 19:29:00 +0000)
are available in the Git repository at:
https://repo.or.cz/qemu/ericb.git tags/pull-nbd-2019-04-01
for you to fetch changes up to 75d34eb98ca0bb2f49d607fcaefd9c482e56b15d:
nbd/client: Trace server noncompliance on structured reads (2019-04-01
08:58:04 -0500)
----------------------------------------------------------------
nbd patches for 2019-04-01
- Better behavior of qemu-img map on NBD images
- Fixes for NBD protocol alignment corner cases:
- the server has fewer places where it sends reads or block status
not aligned to its advertised block size
- the client has more cases where it can work around server
non-compliance present in qemu 3.1
- the client now avoids non-compliant requests when interoperating
with nbdkit or other servers not advertising block size
----------------------------------------------------------------
Eric Blake (14):
qemu-img: Report bdrv_block_status failures
nbd: Tolerate some server non-compliance in NBD_CMD_BLOCK_STATUS
nbd: Don't lose server's error to NBD_CMD_BLOCK_STATUS
nbd: Permit simple error to NBD_CMD_BLOCK_STATUS
qemu-img: Gracefully shutdown when map can't finish
nbd-client: Work around server BLOCK_STATUS misalignment at EOF
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: Reject inaccessible tail of inconsistent server
nbd/client: Support qemu-img convert from unaligned size
block: Add bdrv_get_request_alignment()
nbd/server: Advertise actual minimum block size
nbd/client: Trace server noncompliance on structured reads
include/sysemu/block-backend.h | 1 +
block/block-backend.c | 7 +++
block/nbd-client.c | 124 +++++++++++++++++++++++++++++++++--------
block/nbd.c | 19 ++++++-
nbd/client.c | 8 +++
nbd/server.c | 13 +++--
qemu-img.c | 16 ++++--
block/trace-events | 2 +
tests/qemu-iotests/209.out | 4 +-
tests/qemu-iotests/223.out | 22 ++++----
tests/qemu-iotests/233.out | 2 +-
tests/qemu-iotests/241 | 100 +++++++++++++++++++++++++++++++++
tests/qemu-iotests/241.out | 28 ++++++++++
tests/qemu-iotests/group | 1 +
14 files changed, 299 insertions(+), 48 deletions(-)
create mode 100755 tests/qemu-iotests/241
create mode 100644 tests/qemu-iotests/241.out
--
2.20.1
- [Qemu-devel] [PULL 00/14] NBD patches for 4.0-rc2,
Eric Blake <=
- [Qemu-devel] [PULL 01/14] qemu-img: Report bdrv_block_status failures, Eric Blake, 2019/04/01
- [Qemu-devel] [PULL 03/14] nbd: Don't lose server's error to NBD_CMD_BLOCK_STATUS, Eric Blake, 2019/04/01
- [Qemu-devel] [PULL 04/14] nbd: Permit simple error to NBD_CMD_BLOCK_STATUS, Eric Blake, 2019/04/01
- [Qemu-devel] [PULL 02/14] nbd: Tolerate some server non-compliance in NBD_CMD_BLOCK_STATUS, Eric Blake, 2019/04/01
- [Qemu-devel] [PULL 05/14] qemu-img: Gracefully shutdown when map can't finish, Eric Blake, 2019/04/01
- [Qemu-devel] [PULL 06/14] nbd-client: Work around server BLOCK_STATUS misalignment at EOF, Eric Blake, 2019/04/01
- [Qemu-devel] [PULL 10/14] nbd/client: Reject inaccessible tail of inconsistent server, Eric Blake, 2019/04/01
- [Qemu-devel] [PULL 11/14] nbd/client: Support qemu-img convert from unaligned size, Eric Blake, 2019/04/01
- [Qemu-devel] [PULL 08/14] nbd/client: Lower min_block for block-status, unaligned size, Eric Blake, 2019/04/01