ceph: drop src address(es) from message header [new protocol feature]
authorSage Weil <sage@newdream.net>
Thu, 25 Mar 2010 22:45:38 +0000 (15:45 -0700)
committerSage Weil <sage@newdream.net>
Mon, 17 May 2010 22:25:32 +0000 (15:25 -0700)
commitdbad185d4939ffb806f6fa753ef9f470e3b72b62
tree0d3aaa8f0028c8b4c7826ff2a9c292ca862cd64a
parenta5ee751c15016d0deee0d651e42a3b163ea73ade
ceph: drop src address(es) from message header [new protocol feature]

The CEPH_FEATURE_NOSRCADDR protocol feature avoids putting the full source
address in each message header (twice).  This patch switches the client to
the new scheme, and _requires_ this feature on the server.  The server
will support both the old and new schemes.  That means an old client will
work with a new server, but a new client will not work with an old server.

Signed-off-by: Sage Weil <sage@newdream.net>
fs/ceph/ceph_fs.h
fs/ceph/messenger.c
fs/ceph/msgr.h