summaryrefslogtreecommitdiff
path: root/src/ceph_syn.cc
Commit message (Collapse)AuthorAgeFilesLines
* msgr: name messengersSage Weil2012-04-301-1/+1
| | | | | | | Give each Messenger a logical name describing its role. For instance, the OSD will have client, cluster, and heartbeat messengers. Signed-off-by: Sage Weil <sage@newdream.net>
* msgr: switch all users over to abstract interfaceSage Weil2012-03-141-5/+5
| | | | | | This will let us transparently swap implementations out. Signed-off-by: Sage Weil <sage@newdream.net>
* config: alternative config options for global_init()Yehuda Sadeh2012-03-121-1/+1
| | | | | | | | | | | We want to be able to provide alternative default config values, than the ones we set in common/config_opts.h. This can be useful when we want different default for different modules (e.g., rgw, rgw-admin). Just passing it on the command line won't do because then we'd override any config set by the user, so we need to process that before the regular parsing (but after initializing the config context). Signed-off-by: Yehuda Sadeh <yehuda@hq.newdream.net>
* msgr: remove refcounting of Messengers.Greg Farnum2012-03-021-1/+1
| | | | | | | This was pretty pointless since each Messenger has a well-defined exit point and shutdown process. Signed-off-by: Greg Farnum <gregory.farnum@dreamhost.com>
* msgr: make nonce a required part of the SimpleMessenger constructor.Greg Farnum2012-03-021-2/+3
| | | | | | | With that, remove the set_nonce function and the gratuitous passing of nonce around through layers of functions. Signed-off-by: Greg Farnum <gregory.farnum@dreamhost.com>
* msgr: Remove the SimpleMessenger::bind() nonce parameter.Greg Farnum2012-03-021-1/+2
| | | | | | Instead, use the just-established nonce value. Signed-off-by: Greg Farnum <gregory.farnum@dreamhost.com>
* msgr: Remove SimpleMessenger::register_entityGreg Farnum2012-03-021-2/+1
| | | | | | | | | This function has been vestigial for a long time. Remove it and move its remaining functionality into the constructor. Update users to the new interface (this is remarkably easy and simplifies the code). Signed-off-by: Greg Farnum <gregory.farnum@dreamhost.com>
* mds, osd, synclient: Pick cluster_addr/public_addr based on *_network.Tommi Virtanen2011-11-211-0/+3
| | | | | | | | | | | | | | | | | | Instead of specifying an IP address in ceph.conf like [global] cluster_addr = 10.1.2.3 you can now avoid the node-specific configuration and just say [global] cluster_network = 10.1.2.0/24 The *_network variables can also take a whitespace-separated list of networks, to be checked in that order: [global] cluster_network = 10.1.2.0/24 192.168.42.192/26
* msg: Move public_addr use outside ->bind()Tommi Virtanen2011-11-211-1/+1
|
* First cut of FreeBSD support. This patch allowes ceph to compile successfullyStanislav Sedov2011-10-041-2/+2
| | | | | | under FreeBSD. Signed-off-by: Stanislav Sedov <stas@FreeBSD.org>
* rename source files c* -> ceph-*Sage Weil2011-09-231-0/+105
Signed-off-by: Sage Weil <sage.weil@dreamhost.com>