qcow2: Move BLKDBG_EVENT out of the lock
authorKevin Wolf <kwolf@redhat.com>
Thu, 6 Dec 2012 13:32:59 +0000 (14:32 +0100)
committerKevin Wolf <kwolf@redhat.com>
Wed, 12 Dec 2012 11:33:48 +0000 (12:33 +0100)
commit67a7a0ebe5ef0f337d5f7e7e618b08c562a55da0
tree52ddfc8011d8000d61a57e6a1c3f7b9e8ccb7212
parent41c695c749b84d40e53e64faadedc0392aaea07e
qcow2: Move BLKDBG_EVENT out of the lock

We want to use these events to suspend requests for testing concurrent
AIO requests. Suspending requests while they are holding the CoMutex is
rather boring for this purpose.

Signed-off-by: Kevin Wolf <kwolf@redhat.com>
block/qcow2.c