aboutsummaryrefslogtreecommitdiff
path: root/fs/ceph/mon_client.h
diff options
context:
space:
mode:
authorSage Weil <sage@newdream.net>2010-03-24 21:52:30 -0700
committerSage Weil <sage@newdream.net>2010-05-17 15:25:16 -0700
commit7c315c552c7442eab73461de61dbcce579a31d3a (patch)
tree0821fb028c3a13360983bd9fb65599e8b5864aeb /fs/ceph/mon_client.h
parent6694d6b95cf3b41751e78815d05968fa2084d7bf (diff)
ceph: drop unnecessary msgpool for mon_client subscribe_ack
Preallocate a single message to 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.h6
1 files changed, 1 insertions, 5 deletions
diff --git a/fs/ceph/mon_client.h b/fs/ceph/mon_client.h
index 2658e3e3b27..0046deed074 100644
--- a/fs/ceph/mon_client.h
+++ b/fs/ceph/mon_client.h
@@ -6,7 +6,6 @@
#include <linux/rbtree.h>
#include "messenger.h"
-#include "msgpool.h"
struct ceph_client;
struct ceph_mount_args;
@@ -63,7 +62,7 @@ struct ceph_mon_client {
struct delayed_work delayed_work;
struct ceph_auth_client *auth;
- struct ceph_msg *m_auth, *m_auth_reply;
+ struct ceph_msg *m_auth, *m_auth_reply, *m_subscribe_ack;
int pending_auth;
bool hunting;
@@ -72,9 +71,6 @@ struct ceph_mon_client {
struct ceph_connection *con;
bool have_fsid;
- /* msgs */
- struct ceph_msgpool msgpool_subscribe_ack;
-
/* pending statfs requests */
struct rb_root statfs_request_tree;
int num_statfs_requests;