Re: [Qemu-devel] [PATCH V3] block/iscsi: allow caching of the allocation map

2016-06-13 Thread Paolo Bonzini
On 30/05/2016 08:33, Peter Lieven wrote: > > The idea of the allocmap in cache.direct = on mode is that we can > still speed up block jobs by skipping large unallocated areas. In this case > the allocmap has only a hint character. If we don't know the status > we issue a get_block_status request

Re: [Qemu-devel] [PATCH V3] block/iscsi: allow caching of the allocation map

2016-06-13 Thread Paolo Bonzini
On 24/05/2016 10:40, Peter Lieven wrote: > until now the allocation map was used only as a hint if a cluster > is allocated or not. If a block was not allocated (or Qemu had > no info about the allocation status) a get_block_status call was > issued to check the allocation status and possibly avo

Re: [Qemu-devel] [PATCH V3] block/iscsi: allow caching of the allocation map

2016-06-11 Thread Fam Zheng
On Tue, 05/24 10:40, Peter Lieven wrote: > until now the allocation map was used only as a hint if a cluster > is allocated or not. If a block was not allocated (or Qemu had > no info about the allocation status) a get_block_status call was > issued to check the allocation status and possibly avoid

Re: [Qemu-devel] [PATCH V3] block/iscsi: allow caching of the allocation map

2016-06-10 Thread Peter Lieven
Am 30.05.2016 um 08:33 schrieb Peter Lieven: > Am 25.05.2016 um 01:10 schrieb Eric Blake: >> On 05/24/2016 02:40 AM, Peter Lieven wrote: >>> until now the allocation map was used only as a hint if a cluster >>> is allocated or not. If a block was not allocated (or Qemu had >>> no info about the all

Re: [Qemu-devel] [PATCH V3] block/iscsi: allow caching of the allocation map

2016-05-29 Thread Peter Lieven
Am 25.05.2016 um 01:10 schrieb Eric Blake: On 05/24/2016 02:40 AM, Peter Lieven wrote: until now the allocation map was used only as a hint if a cluster is allocated or not. If a block was not allocated (or Qemu had no info about the allocation status) a get_block_status call was issued to check

Re: [Qemu-devel] [PATCH V3] block/iscsi: allow caching of the allocation map

2016-05-24 Thread Eric Blake
On 05/24/2016 02:40 AM, Peter Lieven wrote: > until now the allocation map was used only as a hint if a cluster > is allocated or not. If a block was not allocated (or Qemu had > no info about the allocation status) a get_block_status call was > issued to check the allocation status and possibly av

[Qemu-devel] [PATCH V3] block/iscsi: allow caching of the allocation map

2016-05-24 Thread Peter Lieven
until now the allocation map was used only as a hint if a cluster is allocated or not. If a block was not allocated (or Qemu had no info about the allocation status) a get_block_status call was issued to check the allocation status and possibly avoid a subsequent read of unallocated sectors. If a b