summaryrefslogtreecommitdiff
path: root/src/libcephfs.cc
Commit message (Collapse)AuthorAgeFilesLines
* make everyone use our assert #include and macroSage Weil2012-06-061-5/+6
| | | | | | ...as detected by the previous patch. Signed-off-by: Sage Weil <sage@inktank.com>
* 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>
* libcephfs: disable ceph_set_default_preferred_pgSage Weil2012-04-231-2/+2
| | | | Signed-off-by: Sage Weil <sage.weil@dreamhost.com>
* msgr: switch all users over to abstract interfaceSage Weil2012-03-141-3/+3
| | | | | | This will let us transparently swap implementations out. Signed-off-by: Sage Weil <sage@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/+1
| | | | | | | 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 start/start_with_nonce distinction.Greg Farnum2012-03-021-1/+2
| | | | | | | Instead, have a settable nonce value that you can fill in any time after construction and that it uses during regular start(). Signed-off-by: Greg Farnum <gregory.farnum@dreamhost.com>
* msgr: Remove SimpleMessenger::register_entityGreg Farnum2012-03-021-7/+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>
* libceph: catch errors from Client::init()Sage Weil2011-12-131-20/+23
| | | | | | And clean up error paths. Signed-off-by: Sage Weil <sage@newdream.net>
* client: return stripe address replicasNoah Watkins2011-11-091-12/+18
| | | | | | | | | Changes ceph_get_file_stripe_address to return a vector of entity_addr_t's for the primary and the replicas. libcephfs is updated to return the associated sockaddr_storage for each address. Signed-off-by: Noah Watkins <noahwatkins@gmail.com>
* libceph -> libcephfsSage Weil2011-09-221-0/+616
Signed-off-by: Sage Weil <sage@newdream.net>