I am using the Ceph C api to create and update Ceph objects and their 
respective omaps and xattributes.  I have two requirements:

  1.  Write operations must be written atomically such that either all updates 
to an object complete, or, all updates to the object fail. If even one update 
fails then the object remains unchanged.
  2.  Simultaneously, I need to be assured that all writes have been persisted 
to disk on at least two of three replicas.

I see that there are methods to read/write atomically, and there are methods 
for synchronous writes with completion callbacks, but is there a mechanism for 
doing both a the same time.  Am I overlooking anything? Will any of the 
flush_cache calls provide the guarantee I'm looking for?

Steven Paster
Platform Architect
Actiance Corp.

_______________________________________________
ceph-users mailing list
ceph-users@lists.ceph.com
http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com

Reply via email to