]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
Completed librados documentation of rados_write_op_cmpxattr and rados_read_op_cmpxatt...
authorSebastien Ponce <sebastien.ponce@cern.ch>
Wed, 26 Mar 2014 11:34:41 +0000 (12:34 +0100)
committerJosh Durgin <josh.durgin@inktank.com>
Thu, 5 Jun 2014 17:07:16 +0000 (10:07 -0700)
Signed-off-by: Sebastien Ponce <sebastien.ponce@cern.ch>
src/include/rados/librados.h

index 3e6829273ca63edcaaee5bba6dd110721bdc7487..fd87f98aca3ea7a2bdebbdc2c60a120d6794fb06 100644 (file)
@@ -1876,7 +1876,9 @@ void rados_write_op_set_flags(rados_write_op_t write_op, int flags);
 void rados_write_op_assert_exists(rados_write_op_t write_op);
 
 /**
- * Ensure that given xattr satisfies comparison
+ * Ensure that given xattr satisfies comparison.
+ * If the comparison is not satisfied, the return code of the
+ * operation will be -ECANCELED
  * @param write_op operation to add this action to
  * @param name name of the xattr to look up
  * @param comparison_operator currently undocumented, look for
@@ -2116,6 +2118,8 @@ void rados_read_op_assert_exists(rados_read_op_t read_op);
 
 /**
  * Ensure that the an xattr satisfies a comparison
+ * If the comparison is not satisfied, the return code of the
+ * operation will be -ECANCELED
  * @param read_op operation to add this action to
  * @param name name of the xattr to look up
  * @param comparison_operator currently undocumented, look for