diff options
author | Stefan Hajnoczi <stefanha@linux.vnet.ibm.com> | 2011-11-14 12:44:20 +0000 |
---|---|---|
committer | Kevin Wolf <kwolf@redhat.com> | 2011-12-05 14:51:37 +0100 |
commit | b7d5a5b8ae5425a4dee69b043b1f334237b3b06a (patch) | |
tree | 74b07e0b72f066d8eb748d121b32488d9b9b2f6d /host-utils.h | |
parent | 376ae3f1cb5a08f53c9425bfaf90b3f70ab240f1 (diff) |
qed: convert to .bdrv_co_is_allocated()
The bdrv_qed_is_allocated() function is a synchronous wrapper around
qed_find_cluster(), which performs the cluster lookup. In order to
convert the synchronous function to a coroutine function we yield
instead of using qemu_aio_wait(). Note that QED's cache is already safe
for parallel requests so no locking is needed.
Signed-off-by: Stefan Hajnoczi <stefanha@linux.vnet.ibm.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Diffstat (limited to 'host-utils.h')
0 files changed, 0 insertions, 0 deletions