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

2016-05-18 Thread Peter Lieven
Am 18.05.2016 um 09:41 schrieb Fam Zheng: On Tue, 05/17 15:59, 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

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

2016-05-18 Thread Fam Zheng
On Tue, 05/17 15:59, 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

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

2016-05-17 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