On 2015-02-13 17:54, Dennis Chen wrote:
Hello,

What exactly does the parameter 'bool exclusive' mean in the int
librados::IoCtxImpl::create(const object_t& oid, bool exclusive)?

I can't find any doc to describe this :-(

From documentation in librados.h: it should be set to either either LIBRADOS_CREATE_EXCLUSIVE (fail if the file already exists) or LIBRADOS_CREATE_IDEMPOTENT (continue if the file already exists).

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

Reply via email to