diff options
author | Sage Weil <sage@inktank.com> | 2012-07-20 17:29:55 -0700 |
---|---|---|
committer | Herton Ronaldo Krzesinski <herton.krzesinski@canonical.com> | 2012-11-20 14:27:27 -0200 |
commit | 4b5d94a2796862dcd4edae80854e897af56942a2 (patch) | |
tree | dfb2bb91eb348a180939289e1d29051d47e6acda /include/linux | |
parent | 48632c019018a077157ca33b79903bbe0f17b98e (diff) |
libceph: clean up con flags
commit 4a8616920860920abaa51193146fe36b38ef09aa upstream.
Rename flags with CON_FLAG prefix, move the definitions into the c file,
and (better) document their meaning.
Signed-off-by: Sage Weil <sage@inktank.com>
Signed-off-by: Herton Ronaldo Krzesinski <herton.krzesinski@canonical.com>
Diffstat (limited to 'include/linux')
-rw-r--r-- | include/linux/ceph/messenger.h | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/include/linux/ceph/messenger.h b/include/linux/ceph/messenger.h index dc684f6bc55f..98442411c585 100644 --- a/include/linux/ceph/messenger.h +++ b/include/linux/ceph/messenger.h @@ -107,16 +107,6 @@ struct ceph_msg_pos { #define MAX_DELAY_INTERVAL (5 * 60 * HZ) /* - * ceph_connection flag bits - */ - -#define LOSSYTX 0 /* we can close channel or drop messages on errors */ -#define KEEPALIVE_PENDING 3 -#define WRITE_PENDING 4 /* we have data ready to send */ -#define SOCK_CLOSED 11 /* socket state changed to closed */ -#define BACKOFF 15 - -/* * A single connection with another host. * * We maintain a queue of outgoing messages, and some session state to |