Searched hist:"5 f81724d80a1492c73d329242663962139db739b" (Results 1 – 1 of 1) sorted by relevance
/openbmc/qemu/hw/ide/ |
H A D | atapi.c | diff 5f81724d80a1492c73d329242663962139db739b Tue Nov 17 13:59:52 CST 2015 Peter Lieven <pl@kamp.de> 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>
|