From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:52511) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bD6jB-0006Wv-Cz for qemu-devel@nongnu.org; Wed, 15 Jun 2016 05:03:14 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bD6j6-0000cj-Dy for qemu-devel@nongnu.org; Wed, 15 Jun 2016 05:03:12 -0400 Date: Wed, 15 Jun 2016 10:02:51 +0100 From: Stefan Hajnoczi Message-ID: <20160615090251.GA25151@stefanha-x1.localdomain> References: <1465911155-19002-1-git-send-email-kwolf@redhat.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="Q68bSM7Ycu6FN28Q" Content-Disposition: inline In-Reply-To: <1465911155-19002-1-git-send-email-kwolf@redhat.com> Subject: Re: [Qemu-devel] [PATCH v2 0/6] block: Enable byte granularity I/O List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Kevin Wolf Cc: qemu-block@nongnu.org, famz@redhat.com, eblake@redhat.com, mreitz@redhat.com, qemu-devel@nongnu.org --Q68bSM7Ycu6FN28Q Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Tue, Jun 14, 2016 at 03:32:29PM +0200, Kevin Wolf wrote: > Previous series have already converted some block drivers to byte-based r= ather > 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. >=20 > This patch series removes these limitations and a sub-sector request actu= ally > ends up as a sub-sector syscall now. >=20 > v2: > - Updated trace-events for bdrv_co_do_copy_on_readv() [Eric] > - Added some assertions [Eric] > - Renamed laio_submit_co() -> laio_co_submit() and added coroutine_fn > to its prototype [Stefan] > - linux-aio: Include block/block.h and use BDRV_SECTOR_SIZE instead > of 512 [Eric] >=20 > 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 >=20 > block.c | 2 +- > block/io.c | 128 ++++++++++++++++++++++++++------------------= ------ > block/linux-aio.c | 84 ++++++++++++++++++++++++--------- > block/mirror.c | 10 ++-- > block/raw-aio.h | 3 ++ > block/raw-posix.c | 62 ++++++++++++------------ > include/block/block.h | 10 ++-- > trace-events | 2 +- > 8 files changed, 176 insertions(+), 125 deletions(-) >=20 > --=20 > 1.8.3.1 >=20 Reviewed-by: Stefan Hajnoczi --Q68bSM7Ycu6FN28Q Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iQEcBAEBAgAGBQJXYRm7AAoJEJykq7OBq3PIT04IAMUiQp0H0pwtZJYd8XQnNCb4 AhzySGvjEeu+D150XryYnK+1t+C+D3DLVpzgr85yRrVY2FTHEmOSpwxXcZDEIAYh fCp3MHCC+sU6ZGJTxdVmWOn3vsQ7uMoapv+93bW/xJf8Tv/4IULfLcALYDBCaaRB 4Im5a7GylQG2++2KwgtatDHOH3Oby9QiRn1IxYXWM8hSCMsRblMVI86S7xtch3+a mKOYMoFs1iXff9nSfeXghmqtxSq+Azr0g7f2uIanjYAoGXNY1K54nU/4KrF0yt2D AlclCWt0fvkFZ0AXNAoNxjKLOrcw9shTRgvsqH1HJhNHJMH1tQWYgwjrTV8fg7w= =l4BG -----END PGP SIGNATURE----- --Q68bSM7Ycu6FN28Q--