aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/ceph/msgpool.h
diff options
context:
space:
mode:
authorJonathan Herman <hermanjl@cs.unc.edu>2013-01-17 16:15:55 -0500
committerJonathan Herman <hermanjl@cs.unc.edu>2013-01-17 16:15:55 -0500
commit8dea78da5cee153b8af9c07a2745f6c55057fe12 (patch)
treea8f4d49d63b1ecc92f2fddceba0655b2472c5bd9 /include/linux/ceph/msgpool.h
parent406089d01562f1e2bf9f089fd7637009ebaad589 (diff)
Patched in Tegra support.
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);