summaryrefslogtreecommitdiff
path: root/fs/ceph/messenger.c
AgeCommit message (Collapse)AuthorFilesLines
2009-11-11ceph: separate banner and connect during handshake into distinct stagesSage Weil1-42/+75
We need to make sure we only swab the address during the banner once. So break process_banner out of process_connect, and clean up the surrounding code so that these are distinct phases of the handshake. Signed-off-by: Sage Weil <sage@newdream.net>
2009-11-05ceph: convert port endiannessSage Weil1-2/+2
The port is informational only, but we should make it correct. Signed-off-by: Sage Weil <sage@newdream.net>
2009-11-04ceph: use fixed endian encoding for ceph_entity_addrSage Weil1-5/+18
We exchange struct ceph_entity_addr over the wire and store it on disk. The sockaddr_storage.ss_family field, however, is host endianness. So, fix ss_family endianness to big endian when sending/receiving over the wire. Signed-off-by: Sage Weil <sage@newdream.net>
2009-10-10ceph: update to mon client protocol v15Sage Weil1-1/+1
The mon request headers now include session_mon information that must be properly initialized. Signed-off-by: Sage Weil <sage@newdream.net>
2009-10-06ceph: messenger librarySage Weil1-0/+2019
A generic message passing library is used to communicate with all other components in the Ceph file system. The messenger library provides ordered, reliable delivery of messages between two nodes in the system. This implementation is based on TCP. Signed-off-by: Sage Weil <sage@newdream.net>