qemu-devel
[Top][All Lists]
Advanced

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

Re: [Qemu-devel] Co-routine re-entered recursively


From: Gugnani, Shashank
Subject: Re: [Qemu-devel] Co-routine re-entered recursively
Date: Fri, 13 Oct 2017 21:17:01 +0000

Hi,


I'm using this to get the aio context:

n->aio_ctx = blk_get_aio_context(n->conf.blk);


And then I acquire the aio context before doing block i/o:

aio_context_acquire(n->aio_ctx);

// block i/o

aio_context_release(n->aio_ctx);


However, I still see the error:

Co-routine re-entered recursively


Thanks,

Shashank

________________________________
From: Kevin Wolf <address@hidden>
Sent: Wednesday, October 11, 2017 8:07:06 AM
To: Gugnani, Shashank
Cc: address@hidden; address@hidden
Subject: Re: [Qemu-devel] Co-routine re-entered recursively

[ Cc: qemu-block ]

Am 09.10.2017 um 21:11 hat Gugnani, Shashank geschrieben:
> Hi,
>
> I'm trying to modify the NVMe emulator in QEMU to use multiple threads.
>
> After making necessary changes, I see this error: 'Co-routine re-entered 
> recursively'
>
> Can anybody tell me the reason for this error? Is there anything I can do to 
> fix this issue?

I suspect that you need to fix your locking. Are you sure you're holding
the AioContext locks while you're making requests to the block layer?

Kevin


reply via email to

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