qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] [PATCH v2 0/2] thread-pool: avoid fd usage and fix nest


From: Marcin Gibuła
Subject: Re: [Qemu-devel] [PATCH v2 0/2] thread-pool: avoid fd usage and fix nested aio_poll() deadlock
Date: Tue, 05 Aug 2014 17:08:30 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.6.0

On 15.07.2014 17:17, Paolo Bonzini wrote:
Il 15/07/2014 16:44, Stefan Hajnoczi ha scritto:
v2:
 * Leave BH scheduled so that the code can be simplified [Paolo]

These patches convert thread-pool.c from EventNotifier to QEMUBH.
They then
solve the deadlock when nested aio_poll() calls are made.

Please speak out whether you want this in QEMU 2.1 or not.  I'm not
aware of
the nested aio_poll() deadlock ever having been reported, so maybe we
can defer
to QEMU 2.2.

It was reported as a hang in block_commit.  Marcin, can you please test
these patches?

Sorry for late answer - yes, it seems to fix block_commit hang when using thread-pool.

--
mg



reply via email to

[Prev in Thread] Current Thread [Next in Thread]