]> git.karo-electronics.de Git - karo-tx-linux.git/blobdiff - include/linux/ceph/msgpool.h
libceph: initialize msgpool message types
[karo-tx-linux.git] / include / linux / ceph / msgpool.h
index a362605f93682a8ffe213fc8a3bc7d06f4cc3187..09fa96b43436cba01cda946a30e48d17991fbae8 100644 (file)
 struct ceph_msgpool {
        const char *name;
        mempool_t *pool;
+       int type;               /* preallocated message type */
        int front_len;          /* preallocated payload size */
 };
 
-extern int ceph_msgpool_init(struct ceph_msgpool *pool,
+extern int ceph_msgpool_init(struct ceph_msgpool *pool, int type,
                             int front_len, int size, bool blocking,
                             const char *name);
 extern void ceph_msgpool_destroy(struct ceph_msgpool *pool);