summaryrefslogtreecommitdiffstats
path: root/include/linux/ceph
diff options
context:
space:
mode:
authorSage Weil2012-07-21 02:29:55 +0200
committerSage Weil2012-07-31 03:16:01 +0200
commit4a8616920860920abaa51193146fe36b38ef09aa (patch)
tree306a64ebcfaaae76b1b45d8f8916e6f68a190255 /include/linux/ceph
parentlibceph: replace connection state bits with states (diff)
downloadkernel-qcow2-linux-4a8616920860920abaa51193146fe36b38ef09aa.tar.gz
kernel-qcow2-linux-4a8616920860920abaa51193146fe36b38ef09aa.tar.xz
kernel-qcow2-linux-4a8616920860920abaa51193146fe36b38ef09aa.zip
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')
-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 {
#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