commit | 81145834d39897c6f153ac26a4077f90f269c5fc | [log] [tgz] |
---|---|---|
author | Stefan Hajnoczi <stefanha@linux.vnet.ibm.com> | Mon Nov 14 12:44:24 2011 +0000 |
committer | Kevin Wolf <kwolf@redhat.com> | Mon Dec 05 14:51:37 2011 +0100 |
tree | 9e04e7b769c731f3af263a22bf740157a63f102f | |
parent | e850b35a1f41304c31b971bde95f0534f2afd791 [diff] |
cow: convert to .bdrv_co_is_allocated() The cow block driver does not keep internal state for cluster lookups. This means it is safe to perform cluster lookups in coroutine context without risk of race conditions that corrupt internal state. Signed-off-by: Stefan Hajnoczi <stefanha@linux.vnet.ibm.com> Signed-off-by: Kevin Wolf <kwolf@redhat.com>