[Openais] defect 1178

Steven Dake sdake at redhat.com
Mon Apr 3 08:46:52 PDT 2006


On Mon, 2006-04-03 at 10:23 +0200, Fabien THOMAS wrote:
> >
> > What condition are you trying to protect from?
> >
> Today it is more a all in one test application to better known the API.
> 
> > Checkpoint writes of one section are atomic.  Unfortunately checkpoint
> > writes of multiple sections are not atomic in violation of the ais  
> > spec
> > and to my general dislike.
> >
> While looking at the code it seems that each iovector is written by  
> the lib without any relationship ?
> How do you garantee that between two iovec lib write aisexec is not  
> called to write the same checkpoint ?
> 

this is not guaranteed they are treated as separate section writes.

regards
-steve

> > If someone attempts to read a checkpoint section while you are writing
> > the checkpoint they will either a) get old data or b) get new data but
> > not c) get a mix of data
> >
> 
> Fabien




More information about the Openais mailing list