diff options
author | Sage Weil <sage@newdream.net> | 2010-03-25 00:48:05 -0400 |
---|---|---|
committer | Sage Weil <sage@newdream.net> | 2010-05-17 18:25:15 -0400 |
commit | 6694d6b95cf3b41751e78815d05968fa2084d7bf (patch) | |
tree | f9b7e868e045c3e85b922a34ee7d2fd38cab1257 /fs/ceph/mon_client.h | |
parent | 3143edd3a185f1fd370ebdd21b4151aa9f3283a3 (diff) |
ceph: drop unnecessary msgpool for mon_client auth_reply
Preallocate a single reply message that we can reuse instead.
Signed-off-by: Sage Weil <sage@newdream.net>
Diffstat (limited to 'fs/ceph/mon_client.h')
-rw-r--r-- | fs/ceph/mon_client.h | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/fs/ceph/mon_client.h b/fs/ceph/mon_client.h index cc89a86c8589..2658e3e3b27c 100644 --- a/fs/ceph/mon_client.h +++ b/fs/ceph/mon_client.h | |||
@@ -63,7 +63,7 @@ struct ceph_mon_client { | |||
63 | struct delayed_work delayed_work; | 63 | struct delayed_work delayed_work; |
64 | 64 | ||
65 | struct ceph_auth_client *auth; | 65 | struct ceph_auth_client *auth; |
66 | struct ceph_msg *m_auth; | 66 | struct ceph_msg *m_auth, *m_auth_reply; |
67 | int pending_auth; | 67 | int pending_auth; |
68 | 68 | ||
69 | bool hunting; | 69 | bool hunting; |
@@ -72,9 +72,8 @@ struct ceph_mon_client { | |||
72 | struct ceph_connection *con; | 72 | struct ceph_connection *con; |
73 | bool have_fsid; | 73 | bool have_fsid; |
74 | 74 | ||
75 | /* msg pools */ | 75 | /* msgs */ |
76 | struct ceph_msgpool msgpool_subscribe_ack; | 76 | struct ceph_msgpool msgpool_subscribe_ack; |
77 | struct ceph_msgpool msgpool_auth_reply; | ||
78 | 77 | ||
79 | /* pending statfs requests */ | 78 | /* pending statfs requests */ |
80 | struct rb_root statfs_request_tree; | 79 | struct rb_root statfs_request_tree; |