Configure the cluster handle using a Ceph config file
If path is NULL, the default locations are searched, and the first
found is used. The locations are:
- $CEPH_CONF (environment variable)
- /etc/ceph/ceph.conf
- ~/.ceph/config
- ceph.conf (in the current working directory)
@pre rados_connect() has not been called on the cluster handle
@param cluster cluster handle to configure
@param path path to a Ceph configuration file
@returns 0 on success, negative error code on failure
Configure the cluster handle using a Ceph config file
If path is NULL, the default locations are searched, and the first found is used. The locations are: - $CEPH_CONF (environment variable) - /etc/ceph/ceph.conf - ~/.ceph/config - ceph.conf (in the current working directory)
@pre rados_connect() has not been called on the cluster handle
@param cluster cluster handle to configure @param path path to a Ceph configuration file @returns 0 on success, negative error code on failure