On 08/29/2013 08:00 AM, Paolo Bonzini wrote: > If a BlockDriverState is growable, after every write we need to > check if bs->total_sectors might have changed. With this change, > bdrv_getlength does not need anymore a system call. > > Signed-off-by: Paolo Bonzini <[email protected]> > --- > v4: use cache in bdrv_getlength > block.c | 5 ++++- > 1 file changed, 4 insertions(+), 1 deletion(-) >
Reviewed-by: Eric Blake <[email protected]> -- Eric Blake eblake redhat com +1-919-301-3266 Libvirt virtualization library http://libvirt.org
signature.asc
Description: OpenPGP digital signature
