diff options
author | Peter Lieven <pl@kamp.de> | 2015-11-17 14:59:52 -0500 |
---|---|---|
committer | John Snow <jsnow@redhat.com> | 2015-11-17 15:06:15 -0500 |
commit | 5f81724d80a1492c73d329242663962139db739b (patch) | |
tree | a8fbe7169471029e3c4f730336e20414e3b383f1 /blockjob.c | |
parent | c27e9014d56fa4880e7d741275d887c3a5949997 (diff) |
ide/atapi: make PIO read requests async
PIO read requests on the ATAPI interface used to be sync blk requests.
This has two significant drawbacks. First the main loop hangs util an
I/O request is completed and secondly if the I/O request does not
complete (e.g. due to an unresponsive storage) Qemu hangs completely.
Note: Due to possible race conditions requests during an ongoing
elementary transfer are still sync.
Signed-off-by: Peter Lieven <pl@kamp.de>
Reviewed-by: John Snow <jsnow@redhat.com>
Message-id: 1447345846-15624-2-git-send-email-pl@kamp.de
Signed-off-by: John Snow <jsnow@redhat.com>
Diffstat (limited to 'blockjob.c')
0 files changed, 0 insertions, 0 deletions