On 03/15/2011 05:20 AM, Wido den Hollander wrote:
> I'm using the patch below to force reading the ceph.conf, but imho that
> is not flexible enough.

rados_conf_read_file(cluster, NULL) will use the default
locations now (/etc/ceph/ceph.conf, ~/.ceph/config, and
ceph.conf). I applied a patch like yours that uses the default
locations instead.

> The current RBD code has no way of reading config options from Qemu and
> converting them into librados options by rados_conf_set() nor specifying
> a conf file to be read by rados_conf_read_file().
>
> Something that still has to be implemented or am I missing something?

We plan to allow a config file to be specified for each rbd
drive -- something like rbd:pool/image:path/to/conf like you
suggested in IRC. This will let you use disks from multiple
clusters in one VM as well.

Thanks,
Josh
--
To unsubscribe from this list: send the line "unsubscribe ceph-devel" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to