summaryrefslogtreecommitdiff
path: root/fs/ceph/msgr.h
AgeCommit message (Collapse)AuthorFilesLines
2009-10-13ceph: add version field to message headerSage Weil1-1/+2
This makes it easier for individual message types to indicate their particular encoding, and make future changes backward compatible. Signed-off-by: Sage Weil <sage@newdream.net>
2009-10-06ceph: on-wire typesSage Weil1-0/+157
These headers describe the types used to exchange messages between the Ceph client and various servers. All types are little-endian and packed. These headers are shared between the kernel and userspace, so all types are in terms of e.g. __u32. Additionally, we define a few magic values to identify the current version of the protocol(s) in use, so that discrepancies to be detected on mount. Signed-off-by: Sage Weil <sage@newdream.net>