From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:47894) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bXRsR-0000Wv-2e for qemu-devel@nongnu.org; Wed, 10 Aug 2016 07:40:52 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bXRsO-0004Cf-Q0 for qemu-devel@nongnu.org; Wed, 10 Aug 2016 07:40:49 -0400 Date: Wed, 10 Aug 2016 10:32:39 +0100 From: Stefan Hajnoczi Message-ID: <20160810093239.GC1109@stefanha-x1.localdomain> References: <1470741619-23231-1-git-send-email-kwolf@redhat.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="V88s5gaDVPzZ0KCq" Content-Disposition: inline In-Reply-To: <1470741619-23231-1-git-send-email-kwolf@redhat.com> Subject: Re: [Qemu-devel] [PATCH] linux-aio: Handle io_submit() failure gracefully List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Kevin Wolf Cc: qemu-block@nongnu.org, pbonzini@redhat.com, qemu-devel@nongnu.org --V88s5gaDVPzZ0KCq Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Tue, Aug 09, 2016 at 01:20:19PM +0200, Kevin Wolf wrote: > It is generally not expected that io_submit() fails other than with > -EAGAIN, but corner cases like SELinux refusing I/O when permissions are > revoked are still possible. In this case, we shouldn't abort, but just > return an I/O error for the request. >=20 > Signed-off-by: Kevin Wolf > --- > block/linux-aio.c | 8 +++++++- > 1 file changed, 7 insertions(+), 1 deletion(-) Thanks, applied to my block tree: https://github.com/stefanha/qemu/commits/block Stefan --V88s5gaDVPzZ0KCq Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iQEcBAEBAgAGBQJXqvS3AAoJEJykq7OBq3PI3TAH/izqv39VXWSLR54On6ry4hAD +9xG2iX07u2zhz8GIZfpiG6IkAkaF7lUlqwzbA8jGFy8V0oxynBrG0FPvYF1OQdJ eNfnYAbSAh0P3B7ydtQee6N0sBIczixppwKDbdezbF/Bswq/CgnIOV7Gsq4HqZh4 QIEVPsuyaMzLg7nsaMWUxwZztVcaR5JdKFO3T1L+YaLCApfAwMKgWn4XUyORVodg jo+HkmGy2f1/aTeNpd3zhecIKu3hkW+HbCIdWth9HhuknWyHo44ohQU5SB7fBwYL Yyp6IHbXxZ7FjzxVATtzHNgMN0YyJ8fKzm6BUkXaP5j4ogu1goaETwrnQdimQNs= =E/jO -----END PGP SIGNATURE----- --V88s5gaDVPzZ0KCq--