diff options
author | Kevin Wolf | 2016-08-09 13:20:19 +0200 |
---|---|---|
committer | Stefan Hajnoczi | 2016-08-11 10:42:35 +0200 |
commit | 44713c9e8547f0ff41e3e257f0dd5c17bb497225 (patch) | |
tree | 7c5a9bf11041872e2051b821439dbd57b1f532c1 /include | |
parent | Merge remote-tracking branch 'remotes/mst/tags/for_upstream' into staging (diff) | |
download | qemu-44713c9e8547f0ff41e3e257f0dd5c17bb497225.tar.gz qemu-44713c9e8547f0ff41e3e257f0dd5c17bb497225.tar.xz qemu-44713c9e8547f0ff41e3e257f0dd5c17bb497225.zip |
linux-aio: Handle io_submit() failure gracefully
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.
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Message-id: 1470741619-23231-1-git-send-email-kwolf@redhat.com
Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions