aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/ceph/msgpool.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/linux/ceph/msgpool.h')
-rw-r--r--include/linux/ceph/msgpool.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/include/linux/ceph/msgpool.h b/include/linux/ceph/msgpool.h
index 4b0d3896072..a362605f936 100644
--- a/include/linux/ceph/msgpool.h
+++ b/include/linux/ceph/msgpool.h
@@ -2,7 +2,7 @@
2#define _FS_CEPH_MSGPOOL 2#define _FS_CEPH_MSGPOOL
3 3
4#include <linux/mempool.h> 4#include <linux/mempool.h>
5#include <linux/ceph/messenger.h> 5#include "messenger.h"
6 6
7/* 7/*
8 * we use memory pools for preallocating messages we may receive, to 8 * we use memory pools for preallocating messages we may receive, to
@@ -11,11 +11,10 @@
11struct ceph_msgpool { 11struct ceph_msgpool {
12 const char *name; 12 const char *name;
13 mempool_t *pool; 13 mempool_t *pool;
14 int type; /* preallocated message type */
15 int front_len; /* preallocated payload size */ 14 int front_len; /* preallocated payload size */
16}; 15};
17 16
18extern int ceph_msgpool_init(struct ceph_msgpool *pool, int type, 17extern int ceph_msgpool_init(struct ceph_msgpool *pool,
19 int front_len, int size, bool blocking, 18 int front_len, int size, bool blocking,
20 const char *name); 19 const char *name);
21extern void ceph_msgpool_destroy(struct ceph_msgpool *pool); 20extern void ceph_msgpool_destroy(struct ceph_msgpool *pool);