For firefly we changed rados_write() and rados_append() to use 0 for success, so now you can be consistent with other calls and librados