From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:47733) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bAeBe-0007o3-7q for qemu-devel@nongnu.org; Wed, 08 Jun 2016 10:10:27 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bAeBc-0007c3-6H for qemu-devel@nongnu.org; Wed, 08 Jun 2016 10:10:25 -0400 From: Kevin Wolf Date: Wed, 8 Jun 2016 16:10:05 +0200 Message-Id: <1465395011-26088-1-git-send-email-kwolf@redhat.com> Subject: [Qemu-devel] [PATCH 0/6] block: Enable byte granularity I/O List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-block@nongnu.org Cc: kwolf@redhat.com, eblake@redhat.com, pbonzini@redhat.com, mreitz@redhat.com, stefanha@redhat.com, famz@redhat.com, qemu-devel@nongnu.org Previous series have already converted some block drivers to byte-based rather than sector-based interfaces. However, the common I/O path as well as raw-posix still enforced a minimum alignment of 512 bytes because some sector-based logic was involved. This patch series removes these limitations and a sub-sector request actually ends up as a sub-sector syscall now. Kevin Wolf (6): block: Byte-based bdrv_co_do_copy_on_readv() block: Prepare bdrv_aligned_preadv() for byte-aligned requests block: Prepare bdrv_aligned_pwritev() for byte-aligned requests raw-posix: Switch to bdrv_co_* interfaces raw-posix: Implement .bdrv_co_preadv/pwritev block: Don't enforce 512 byte minimum alignment block.c | 2 +- block/io.c | 125 +++++++++++++++++++++++++------------------------- block/linux-aio.c | 83 ++++++++++++++++++++++++--------- block/mirror.c | 10 ++-- block/raw-aio.h | 2 + block/raw-posix.c | 61 ++++++++++++------------ include/block/block.h | 10 ++-- 7 files changed, 169 insertions(+), 124 deletions(-) -- 1.8.3.1