summaryrefslogtreecommitdiffstats
path: root/fs/ceph/messenger.h
diff options
context:
space:
mode:
authorSage Weil <sage@newdream.net>2009-12-14 14:04:30 -0800
committerSage Weil <sage@newdream.net>2009-12-21 16:39:38 -0800
commitc86a2930ccbd90d77c54d04b5c2bbec95b989e40 (patch)
tree604861d3945623a505c68ca96a1a637e6a7a320f /fs/ceph/messenger.h
parentd4a780ce8821a37dd135f15b6150a5bfc5604f29 (diff)
downloadtalos-op-linux-c86a2930ccbd90d77c54d04b5c2bbec95b989e40.tar.gz
talos-op-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 */
OpenPOWER on IntegriCloud