[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH v2 03/17] cow: do not call bdrv_co_is_allocated
From: |
Eric Blake |
Subject: |
Re: [Qemu-devel] [PATCH v2 03/17] cow: do not call bdrv_co_is_allocated |
Date: |
Fri, 19 Jul 2013 06:42:19 -0600 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130625 Thunderbird/17.0.7 |
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 <address@hidden>
> ---
> block/cow.c | 5 ++++-
> 1 file changed, 4 insertions(+), 1 deletion(-)
>
Reviewed-by: Eric Blake <address@hidden>
--
Eric Blake eblake redhat com +1-919-301-3266
Libvirt virtualization library http://libvirt.org
signature.asc
Description: OpenPGP digital signature
- [Qemu-devel] [PATCH v2 00/17] Add qemu-img subcommand to dump file metadata, Paolo Bonzini, 2013/07/16
- [Qemu-devel] [PATCH v2 01/17] cow: make reads go at a decent speed, Paolo Bonzini, 2013/07/16
- [Qemu-devel] [PATCH v2 02/17] cow: make writes go at a less indecent speed, Paolo Bonzini, 2013/07/16
- [Qemu-devel] [PATCH v2 03/17] cow: do not call bdrv_co_is_allocated, Paolo Bonzini, 2013/07/16
- Re: [Qemu-devel] [PATCH v2 03/17] cow: do not call bdrv_co_is_allocated,
Eric Blake <=
- [Qemu-devel] [PATCH v2 04/17] block: make bdrv_co_is_allocated static, Paolo Bonzini, 2013/07/16
- [Qemu-devel] [PATCH v2 08/17] block: make bdrv_has_zero_init return false for copy-on-write-images, Paolo Bonzini, 2013/07/16
- [Qemu-devel] [PATCH v2 09/17] block: introduce bdrv_get_block_status API, Paolo Bonzini, 2013/07/16
- [Qemu-devel] [PATCH v2 10/17] block: define get_block_status return value, Paolo Bonzini, 2013/07/16