Re: [Qemu-devel] [PATCH v2 03/17] cow: do not call bdrv_co_is_allocated

2013-07-19 Thread Eric Blake
On 07/16/2013 10:29 AM, Paolo Bonzini wrote: > 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. > > Signed-off-by: Paolo Bonzini

[Qemu-devel] [PATCH v2 03/17] cow: do not call bdrv_co_is_allocated

2013-07-16 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. Signed-off-by: Paolo Bonzini --- block/cow.c | 5 - 1 file changed, 4 insertio