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>
This commit is contained in:
Sage Weil
2010-03-24 21:48:05 -07:00
parent 3143edd3a1
commit 6694d6b95c
2 changed files with 14 additions and 10 deletions

View File

@@ -63,7 +63,7 @@ struct ceph_mon_client {
struct delayed_work delayed_work;
struct ceph_auth_client *auth;
struct ceph_msg *m_auth;
struct ceph_msg *m_auth, *m_auth_reply;
int pending_auth;
bool hunting;
@@ -72,9 +72,8 @@ struct ceph_mon_client {
struct ceph_connection *con;
bool have_fsid;
/* msg pools */
/* msgs */
struct ceph_msgpool msgpool_subscribe_ack;
struct ceph_msgpool msgpool_auth_reply;
/* pending statfs requests */
struct rb_root statfs_request_tree;