diff options
author | Sage Weil <sage@newdream.net> | 2010-05-21 14:57:25 -0700 |
---|---|---|
committer | Sage Weil <sage@newdream.net> | 2010-05-21 16:26:11 -0700 |
commit | 240ed68eb567d80dd6bab739341999a5ab0ad55d (patch) | |
tree | fabd30d0897a30fa401f85e858f8aecdedb02959 /fs/ceph/mon_client.h | |
parent | 970690012c572fc3b7be532080564b730f6a9c02 (diff) | |
download | blackbird-op-linux-240ed68eb567d80dd6bab739341999a5ab0ad55d.tar.gz blackbird-op-linux-240ed68eb567d80dd6bab739341999a5ab0ad55d.zip |
ceph: reuse mon subscribe message instead of allocated anew
Use the same message, allocated during startup. No need to reallocate a
new one each time around (and potentially ENOMEM).
Signed-off-by: Sage Weil <sage@newdream.net>
Diffstat (limited to 'fs/ceph/mon_client.h')
-rw-r--r-- | fs/ceph/mon_client.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/ceph/mon_client.h b/fs/ceph/mon_client.h index 76887785a4d7..174d794321d0 100644 --- a/fs/ceph/mon_client.h +++ b/fs/ceph/mon_client.h @@ -63,7 +63,7 @@ struct ceph_mon_client { struct delayed_work delayed_work; struct ceph_auth_client *auth; - struct ceph_msg *m_auth, *m_auth_reply, *m_subscribe_ack; + struct ceph_msg *m_auth, *m_auth_reply, *m_subscribe, *m_subscribe_ack; int pending_auth; bool hunting; |