summaryrefslogtreecommitdiffstats
path: root/fs/ceph/mon_client.h
diff options
context:
space:
mode:
authorSage Weil2010-03-25 05:52:30 +0100
committerSage Weil2010-05-18 00:25:16 +0200
commit7c315c552c7442eab73461de61dbcce579a31d3a (patch)
tree0821fb028c3a13360983bd9fb65599e8b5864aeb /fs/ceph/mon_client.h
parentceph: drop unnecessary msgpool for mon_client auth_reply (diff)
downloadkernel-qcow2-linux-7c315c552c7442eab73461de61dbcce579a31d3a.tar.gz
kernel-qcow2-linux-7c315c552c7442eab73461de61dbcce579a31d3a.tar.xz
kernel-qcow2-linux-7c315c552c7442eab73461de61dbcce579a31d3a.zip
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 2658e3e3b27c..0046deed0740 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;