[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-block] [PATCH v3 1/3] block: add bdrv_get_format_alloc_stat fo
From: |
Eric Blake |
Subject: |
Re: [Qemu-block] [PATCH v3 1/3] block: add bdrv_get_format_alloc_stat format interface |
Date: |
Fri, 28 Jul 2017 07:05:09 -0500 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.2.1 |
On 07/27/2017 04:23 PM, John Snow wrote:
>>>
>>> "Allocations may be considered either used or unused by the format
>>> driver interpreting those allocations. It is at the discretion of the
>>> format driver (e.g. qcow2) which regions of its backing storage are
>>> considered in-use or not."
>>
>> So we are saying about "allocations". But unallocated data may be
>> used/unused too, so,
>> can we call unallocated areas "allocations"?
>>
>
> You're right, "allocation" may imply something that is extant, but these
> are more like regions ...
Even 'extent' might have a connotation of something reserved; other
related words like 'block' are bad (a block of a block device?).
>
> Uh;
>
> "Regions" may be considered either used or unused?
>
> or
>
> "Regions of the underlying protocol file may be considered used or
> unused by the format driver interpreting these regions."
So this is one of the better variations I've seen, and works for me.
--
Eric Blake, Principal Software Engineer
Red Hat, Inc. +1-919-301-3266
Virtualization: qemu.org | libvirt.org
signature.asc
Description: OpenPGP digital signature