]> git.proxmox.com Git - mirror_qemu.git/commit
rbd: allow configuration of rados from the rbd filename
authorJosh Durgin <josh.durgin@dreamhost.com>
Thu, 26 May 2011 23:07:32 +0000 (16:07 -0700)
committerKevin Wolf <kwolf@redhat.com>
Wed, 8 Jun 2011 09:56:40 +0000 (11:56 +0200)
commitfab5cf592c36a00124018604abc24f4000e07690
treedc9cfb8cc3dc4498ef899d8c5c2c29d9f62ee967
parentad32e9c003647142d08dfce450eafa0ab7887d10
rbd: allow configuration of rados from the rbd filename

The new format is rbd:pool/image[@snapshot][:option1=value1[:option2=value2...]]
Each option is used to configure rados, and may be any Ceph option, or "conf".
The "conf" option specifies a Ceph configuration file to read.

This allows rbd volumes from more than one Ceph cluster to be used by
specifying different monitor addresses, as well as having different
logging levels or locations for different volumes.

Reviewed-by: Christian Brunner <chb@muc.de>
Signed-off-by: Josh Durgin <josh.durgin@dreamhost.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
block/rbd.c