aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/ceph/messenger.h
diff options
context:
space:
mode:
authorSage Weil <sage@inktank.com>2012-07-20 20:29:55 -0400
committerSage Weil <sage@inktank.com>2012-07-30 21:16:01 -0400
commit4a8616920860920abaa51193146fe36b38ef09aa (patch)
tree306a64ebcfaaae76b1b45d8f8916e6f68a190255 /include/linux/ceph/messenger.h
parent8dacc7da69a491c515851e68de6036f21b5663ce (diff)
libceph: clean up con flags
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>
Diffstat (limited to 'include/linux/ceph/messenger.h')
-rw-r--r--include/linux/ceph/messenger.h10
1 files changed, 0 insertions, 10 deletions
diff --git a/include/linux/ceph/messenger.h b/include/linux/ceph/messenger.h
index d9c2b8f5abde..189ae0637634 100644
--- a/include/linux/ceph/messenger.h
+++ b/include/linux/ceph/messenger.h
@@ -107,16 +107,6 @@ struct ceph_msg_pos {
107#define MAX_DELAY_INTERVAL (5 * 60 * HZ) 107#define MAX_DELAY_INTERVAL (5 * 60 * HZ)
108 108
109/* 109/*
110 * ceph_connection flag bits
111 */
112
113#define LOSSYTX 0 /* we can close channel or drop messages on errors */
114#define KEEPALIVE_PENDING 3
115#define WRITE_PENDING 4 /* we have data ready to send */
116#define SOCK_CLOSED 11 /* socket state changed to closed */
117#define BACKOFF 15
118
119/*
120 * A single connection with another host. 110 * A single connection with another host.
121 * 111 *
122 * We maintain a queue of outgoing messages, and some session state to 112 * We maintain a queue of outgoing messages, and some session state to