That way we can reduce lock contentions because we lock for much shorter times.
and replace AsyncIndexReader's stream implementation with that Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
implements AsyncRead as well as Stream for an IndexFile and a store that implements AsyncReadChunk we can use this to asyncread or stream the content of a FixedIndex or DynamicIndex Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>