|
From: | Peter Lieven |
Subject: | Re: [Qemu-block] [Qemu-devel] [PATCH 1/2] block/io: allow AIOCB without callback |
Date: | Mon, 31 Aug 2015 10:38:17 +0200 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.2.0 |
Am 21.08.2015 um 08:12 schrieb Eric Blake:
On 08/20/2015 01:14 AM, Peter Lieven wrote:If the backend storage is unresponsive and we cancel a request due to a timeout we cannot immediately destroy the AIOCB because the storage might complete the original request laster if it is responsive again.s/laster/later/For this purpose allow to set the callback to NULL and ignore it in this case. Signed-off-by: Peter Lieven <address@hidden> ---I'll leave the technical review to others, I'm just pointing out grammar.
I am using this one for quite some time now. It seems a good step into solving the deadlock problem. The issue is we still need to make the ATAPI calls async. The OS is only spending 2-3 Minutes with DMA cancelling and then issues reads again so we still deadlock at the end. Peter
[Prev in Thread] | Current Thread | [Next in Thread] |