At Fri, 24 Aug 2012 16:13:51 +0800, Liu Yuan wrote: > > On 08/24/2012 04:08 PM, MORITA Kazutaka wrote: > > I think both farm and plain don't need it. Can you explain a scenario > > where it can cause a problem? > > Qemu can issue multiple requests on the same oid, doesn't it? If there Yes, but I think it is not a problem. > is some kind of write barrier to prevent reading stale oid or actually > no problems at all, I'd love to remove this flock, it obfuscate the code > a lot. It is okay to read the older data if the vm doesn't receive the ack of the write requests yet. Thanks, Kazutaka |