Re: [Qemu-devel] [PATCH v3 03/19] cow: do not call bdrv_co_is_allocated

2013-07-29 Thread Kevin Wolf
Am 25.07.2013 um 16:23 hat Paolo Bonzini geschrieben: > 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 Bl

[Qemu-devel] [PATCH v3 03/19] cow: do not call bdrv_co_is_allocated

2013-07-25 Thread Paolo Bonzini
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 Signed-off-by: Paolo Bonzini --- block/cow.c | 5 - 1