From: Josh Durgin <josh.durgin@dreamhost.com>
To: Wido den Hollander <wido@widodh.nl>
Cc: ceph-devel@vger.kernel.org
Subject: Re: [Qemu] Passing config options to librados
Date: Tue, 15 Mar 2011 14:37:13 -0700 [thread overview]
Message-ID: <4D7FDC09.9040309@dreamhost.com> (raw)
In-Reply-To: <1300191618.2434.27.camel@wido-desktop>
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
prev parent reply other threads:[~2011-03-15 21:37 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-03-15 12:20 [Qemu] Passing config options to librados Wido den Hollander
2011-03-15 21:37 ` Josh Durgin [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4D7FDC09.9040309@dreamhost.com \
--to=josh.durgin@dreamhost.com \
--cc=ceph-devel@vger.kernel.org \
--cc=wido@widodh.nl \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.