On 10/07/2010 03:47 PM, Yehuda Sadeh Weinraub wrote:
How is that possible?  Are the callbacks delivered in the context of a
different thread?  If so, don't you need locking?
Not sure I'm completely following you. The callbacks are delivered in
the context of a different thread, but won't run concurrently.

Concurrently to what? How do you prevent them from running concurrently with qemu?

If you saw lock ups, I bet that's what it was from.

Regards,

Anthony Liguori

  Do you
see any specific concurrency issue? We can add some mutex protection
around at the aio callback, so that if librados turns multithreaded at
this point we're covered.


Thanks,
Yehuda



Reply via email to