diff options
| author | Paolo Bonzini | 2013-09-04 19:00:20 +0200 |
|---|---|---|
| committer | Stefan Hajnoczi | 2013-09-06 15:25:08 +0200 |
| commit | e641c1e81e54fc14908ff6785ef7d51e42c2e1bb (patch) | |
| tree | 4f2f526c2a0b502b391953078d0e1232f732f424 /include | |
| parent | cow: make writes go at a less indecent speed (diff) | |
| download | qemu-e641c1e81e54fc14908ff6785ef7d51e42c2e1bb.tar.gz qemu-e641c1e81e54fc14908ff6785ef7d51e42c2e1bb.tar.xz qemu-e641c1e81e54fc14908ff6785ef7d51e42c2e1bb.zip | |
cow: do not call bdrv_co_is_allocated
As we change bdrv_is_allocated to gather more information from bs and
bs->file, it will become a bit slower. It is still appropriate for online
jobs, but not for reads/writes. Call the internal function instead.
Reviewed-by: Eric Blake <eblake@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions
