Re: [Qemu-devel] [PATCH v3 21/29] block: Assert serialisation assumptions in pwritev

2014-01-24 Thread Benoît Canet
Le Friday 17 Jan 2014 à 15:15:11 (+0100), Kevin Wolf a écrit : If a request calls wait_serialising_requests() and actually has to wait in this function (i.e. a coroutine yield), other requests can run and previously read data (like the head or tail buffer) could become outdated. In this case,

Re: [Qemu-devel] [PATCH v3 21/29] block: Assert serialisation assumptions in pwritev

2014-01-24 Thread Kevin Wolf
Am 24.01.2014 um 17:09 hat Benoît Canet geschrieben: Le Friday 17 Jan 2014 à 15:15:11 (+0100), Kevin Wolf a écrit : If a request calls wait_serialising_requests() and actually has to wait in this function (i.e. a coroutine yield), other requests can run and previously read data (like the

[Qemu-devel] [PATCH v3 21/29] block: Assert serialisation assumptions in pwritev

2014-01-17 Thread Kevin Wolf
If a request calls wait_serialising_requests() and actually has to wait in this function (i.e. a coroutine yield), other requests can run and previously read data (like the head or tail buffer) could become outdated. In this case, we would have to restart from the beginning to read in the updated

Re: [Qemu-devel] [PATCH v3 21/29] block: Assert serialisation assumptions in pwritev

2014-01-17 Thread Max Reitz
On 17.01.2014 15:15, Kevin Wolf wrote: If a request calls wait_serialising_requests() and actually has to wait in this function (i.e. a coroutine yield), other requests can run and previously read data (like the head or tail buffer) could become outdated. In this case, we would have to restart