From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:44877) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1b8smp-0002FV-7U for qemu-devel@nongnu.org; Fri, 03 Jun 2016 13:21:32 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1b8smo-0003DI-AG for qemu-devel@nongnu.org; Fri, 03 Jun 2016 13:21:31 -0400 From: Kevin Wolf Date: Fri, 3 Jun 2016 19:21:13 +0200 Message-Id: <1464974478-23598-1-git-send-email-kwolf@redhat.com> Subject: [Qemu-devel] [PATCH 0/5] qcow2: Implement .bdrv_co_preadv/pwritev List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-block@nongnu.org Cc: kwolf@redhat.com, mreitz@redhat.com, jsnow@redhat.com, qemu-devel@nongnu.org This series converts qcow2 to the byte-based I/O interfaces. This simplifies the code by removing many unit conversions, and in the unlikely case of actual unaligned requests, it even makes the driver work more efficiently by avoiding read-modify-write. Kevin Wolf (5): qcow2: Work with bytes in qcow2_get_cluster_offset() qcow2: Implement .bdrv_co_preadv() qcow2: Make copy_sectors() byte based qcow2: Use bytes instead of sectors for QCowL2Meta qcow2: Implement .bdrv_co_pwritev block/qcow2-cluster.c | 121 ++++++++++++++------------------ block/qcow2.c | 190 ++++++++++++++++++++++++++------------------------ block/qcow2.h | 18 ++--- trace-events | 6 +- 4 files changed, 159 insertions(+), 176 deletions(-) -- 1.8.3.1