Re: [Qemu-devel] [PATCH RFC v2 09/22] block/pcache: separation AIOCB on requests

2016-09-08 Thread Pavel Butsykin
On 02.09.2016 12:10, Kevin Wolf wrote: Am 29.08.2016 um 19:10 hat Pavel Butsykin geschrieben: for case when the cache partially covers request we are part of the request is filled from the cache, and the other part request from disk. Also add reference counting for nodes, as way to maintain

Re: [Qemu-devel] [PATCH RFC v2 09/22] block/pcache: separation AIOCB on requests

2016-09-02 Thread Kevin Wolf
Am 29.08.2016 um 19:10 hat Pavel Butsykin geschrieben: > for case when the cache partially covers request we are part of the request > is filled from the cache, and the other part request from disk. Also add > reference counting for nodes, as way to maintain multithreading. > > There is still no

[Qemu-devel] [PATCH RFC v2 09/22] block/pcache: separation AIOCB on requests

2016-08-29 Thread Pavel Butsykin
for case when the cache partially covers request we are part of the request is filled from the cache, and the other part request from disk. Also add reference counting for nodes, as way to maintain multithreading. There is still no full synchronization in multithreaded mode. Signed-off-by: Pavel