ceph: on-wire types
authorSage Weil <sage@newdream.net>
Tue, 6 Oct 2009 18:31:06 +0000 (11:31 -0700)
committerSage Weil <sage@newdream.net>
Tue, 6 Oct 2009 18:31:06 +0000 (11:31 -0700)
commit0dee3c28af2fbe22ca62739a7f57da5435d35793
treedd5992a4abc86c5931ce36258b972dbf48ab355d
parent7ad920b504a980adcab4d3f6b85695526e6fd7bb
ceph: on-wire types

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>
fs/ceph/ceph_fs.c [new file with mode: 0644]
fs/ceph/ceph_fs.h [new file with mode: 0644]
fs/ceph/ceph_strings.c [new file with mode: 0644]
fs/ceph/msgr.h [new file with mode: 0644]
fs/ceph/rados.h [new file with mode: 0644]