Received: from eggs.gnu.org ([2001:4830:134:3::10]:43850) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1b5mIG-00020T-VG for qemu-devel@nongnu.org; Wed, 25 May 2016 23:49:18 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1b5mI6-00041m-6h for qemu-devel@nongnu.org; Wed, 25 May 2016 23:49:07 -0400 Received: from resqmta-po-06v.sys.comcast.net ([2001:558:fe16:19:96:114:154:165]:39375) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1b5mI6-00041b-1u for qemu-devel@nongnu.org; Wed, 25 May 2016 23:48:58 -0400 From: Eric Blake Date: Wed, 25 May 2016 21:48:44 -0600 Message-Id: <1464234529-13018-1-git-send-email-eblake@redhat.com> Subject: [Qemu-devel] [PATCH v3 0/5] qcow2_co_write_zeroes and related improvements List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: qemu-block@nongnu.org, den@openvz.org, kwolf@redhat.com This series improves write_zeroes for qcow2 Since the work conflicts with my proposed patches to switch write_zeroes to a byte-base interface, I figured I'd fix the bugs and get this part nailed first, then rebase my other work on top, rather than making Denis have to do the dirty work. Changes from v2: - patch 1: close to a rewrite, same concept but in fewer lines of code, and with testsuite change to back it up as valid; but keep authorship - patch 2, 3: unchanged - patch 4 from original series already applied - patch 4 in this series is new - patch 5: rewrite of the original v5 that catches even more cases; claim authorship [hmm, maybe I should treat 1 and 5 the same on whether to leave authorship unchanged or just credit Denis for the original idea] Denis V. Lunev (3): block: split write_zeroes always qcow2: simplify logic in qcow2_co_write_zeroes qcow2: add tracepoints for qcow2_co_write_zeroes Eric Blake (2): qemu-iotests: Test one more spot for optimizing write_zeroes qcow2: Catch more unaligned write_zero into zero cluster block/io.c | 30 ++++++++++++--------- block/qcow2.c | 67 ++++++++++++++++++++-------------------------- tests/qemu-iotests/154 | 40 +++++++++++++++++++++++++++ tests/qemu-iotests/154.out | 55 ++++++++++++++++++++++++++++++++----- trace-events | 2 ++ 5 files changed, 137 insertions(+), 57 deletions(-) -- 2.5.5