Received: from eggs.gnu.org ([2001:4830:134:3::10]:58984) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bnRed-0001xH-22 for qemu-devel@nongnu.org; Fri, 23 Sep 2016 10:40:44 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bnReb-0001g0-RE for qemu-devel@nongnu.org; Fri, 23 Sep 2016 10:40:42 -0400 References: <1474641161-10891-1-git-send-email-kwolf@redhat.com> <1474641161-10891-4-git-send-email-kwolf@redhat.com> From: Eric Blake Message-ID: Date: Fri, 23 Sep 2016 09:40:33 -0500 MIME-Version: 1.0 In-Reply-To: <1474641161-10891-4-git-send-email-kwolf@redhat.com> Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="eJj0kOjcv2akvf4WfJdXofH3hHsUh6JqA" Subject: Re: [Qemu-devel] [PATCH v2 3/7] block/qapi: Move 'aio' option to file driver List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Kevin Wolf , qemu-block@nongnu.org Cc: mreitz@redhat.com, qemu-devel@nongnu.org This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --eJj0kOjcv2akvf4WfJdXofH3hHsUh6JqA From: Eric Blake To: Kevin Wolf , qemu-block@nongnu.org Cc: mreitz@redhat.com, qemu-devel@nongnu.org Message-ID: Subject: Re: [PATCH v2 3/7] block/qapi: Move 'aio' option to file driver References: <1474641161-10891-1-git-send-email-kwolf@redhat.com> <1474641161-10891-4-git-send-email-kwolf@redhat.com> In-Reply-To: <1474641161-10891-4-git-send-email-kwolf@redhat.com> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable On 09/23/2016 09:32 AM, Kevin Wolf wrote: > The option whether or not to use a native AIO interface really isn't a > generic option for all drivers, but only applies to the native file > protocols. This patch moves the option in blockdev-add to the > appropriate places (raw-posix and raw-win32). >=20 > We still have to keep the flag BDRV_O_NATIVE_AIO for compatibility > because so far the AIO option was usually specified on the wrong layer > (the top-level format driver, which didn't even look at it) and then > inherited by the protocol driver (where it was actually used). We can't= > forbid this use except in new interfaces. >=20 > Signed-off-by: Kevin Wolf > --- > block/raw-posix.c | 44 ++++++++++++++++++++++++--------------- > block/raw-win32.c | 56 ++++++++++++++++++++++++++++++++++++++++++= +++----- > qapi/block-core.json | 6 +++--- > tests/qemu-iotests/087 | 4 ++-- > 4 files changed, 83 insertions(+), 27 deletions(-) >=20 > +++ b/qapi/block-core.json > @@ -1724,11 +1724,13 @@ > # Driver specific block device options for the file backend. > # > # @filename: path to the image file > +# @aio: #optional AIO backend (default: threads) Missed this last time, but probably worth a '(since 2.8)' marker. Trivial enough that you can squash in during the pull request, so: Reviewed-by: Eric Blake --=20 Eric Blake eblake redhat com +1-919-301-3266 Libvirt virtualization library http://libvirt.org --eJj0kOjcv2akvf4WfJdXofH3hHsUh6JqA Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 Comment: Public key at http://people.redhat.com/eblake/eblake.gpg Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/ iQEcBAEBCAAGBQJX5T7hAAoJEKeha0olJ0NqiagH/Ry/LUv76QXvh72UXYGUUgb1 tg012M71rx5rjgNL6nzMR+wASEuqZ//Vl+o5ZCF2gfTAJ9nbfSVtnBbp9J063/jl NCDTmPOwb9pVX++3V/dMuV4xk/vGtkKiDEC2CGVE7UVCC2YgDrXXUXQs16AFd2Dw muUKJ1MYvdpk1KECck5+I9bkMc+J9fRp84CVMq7VoBLYlxl9rPD07B+YHglYOUvw RKjwny9zdpWxCTdptPbI21FkndRz/cvtVsNLw8iD69w0csE7Qa9Pjxzq2WXjE+NG vJ58piQyb4JrYb0ZVM9qZofFRAZOz842pvAG8Zl6EVcUjWrvp7W6t06WMnTsQ4Q= =Z9I4 -----END PGP SIGNATURE----- --eJj0kOjcv2akvf4WfJdXofH3hHsUh6JqA--