summaryrefslogtreecommitdiffstats
path: root/fs/ceph/messenger.h
diff options
context:
space:
mode:
authorSage Weil <sage@newdream.net>2009-12-14 23:04:30 +0100
committerSage Weil <sage@newdream.net>2009-12-22 01:39:38 +0100
commitc86a2930ccbd90d77c54d04b5c2bbec95b989e40 (patch)
tree604861d3945623a505c68ca96a1a637e6a7a320f /fs/ceph/messenger.h
parentceph: fix leak of monc mutex (diff)
downloadlinux-c86a2930ccbd90d77c54d04b5c2bbec95b989e40.tar.xz
linux-c86a2930ccbd90d77c54d04b5c2bbec95b989e40.zip
ceph: carry explicit msg reference for currently sending message
Carry a ceph_msg reference for connection->out_msg. This will allow us to make out_sent optional. Signed-off-by: Sage Weil <sage@newdream.net>
Diffstat (limited to 'fs/ceph/messenger.h')
-rw-r--r--fs/ceph/messenger.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/ceph/messenger.h b/fs/ceph/messenger.h
index 981b7c08ad82..eff5cb5197fc 100644
--- a/fs/ceph/messenger.h
+++ b/fs/ceph/messenger.h
@@ -182,6 +182,7 @@ struct ceph_connection {
/* message out temps */
struct ceph_msg *out_msg; /* sending message (== tail of
out_sent) */
+ bool out_msg_done;
struct ceph_msg_pos out_msg_pos;
struct kvec out_kvec[8], /* sending header/footer data */