Received: from eggs.gnu.org ([2001:4830:134:3::10]:57605) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1c7T4V-0006tH-3q for qemu-devel@nongnu.org; Thu, 17 Nov 2016 15:14:11 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1c7T4U-0003gB-6H for qemu-devel@nongnu.org; Thu, 17 Nov 2016 15:14:11 -0500 From: Eric Blake Date: Thu, 17 Nov 2016 14:13:53 -0600 Message-Id: <1479413642-22463-1-git-send-email-eblake@redhat.com> Subject: [Qemu-devel] [PATCH v2 for-2.8* 0/9] Fix block regressions, add blkdebug tests List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: qemu-block@nongnu.org, kwolf@redhat.com, pbonzini@redhat.com The first 5 patches are candidates for inclusion in 2.8, since they fix regressions and/or bugs exposed by the second half. The last 4 patches are a new feature in blkdebug, and as such, probably belong better in 2.9. However, I wrote the patches by swapping the order (last four patches first, and proving that the new iotest fails, then the first five patches fix the failures), which should give us some better assurance that the first half is safe for inclusion during hard freeze. Patches 3-5 have been on the list previously (hence calling this series v2), although as two separate threads; patch 5 has been improved since its last posting. Patches 1-2 and 6-9 are new. Eric Blake (9): nbd: Allow unmap and fua during write zeroes qcow2: Inform block layer about discard boundaries block: Let write zeroes fallback work even with small max_transfer block: Return -ENOTSUP rather than assert on unaligned discards block: Pass unaligned discard requests to drivers blkdebug: Sanity check block layer guarantees blkdebug: Add pass-through write_zero and discard support blkdebug: Add ability to override unmap geometries tests: Add coverage for recent block geometry fixes qapi/block-core.json | 27 ++++++- block/blkdebug.c | 176 ++++++++++++++++++++++++++++++++++++++++++++- block/io.c | 58 ++++++++++----- block/iscsi.c | 4 +- block/nbd-client.c | 4 ++ block/qcow2.c | 6 ++ block/sheepdog.c | 5 +- tests/qemu-iotests/173 | 115 +++++++++++++++++++++++++++++ tests/qemu-iotests/173.out | 49 +++++++++++++ tests/qemu-iotests/group | 1 + 10 files changed, 421 insertions(+), 24 deletions(-) create mode 100755 tests/qemu-iotests/173 create mode 100644 tests/qemu-iotests/173.out -- 2.7.4