]> git.karo-electronics.de Git - linux-beck.git/commit
ceph: message pools
authorSage Weil <sage@newdream.net>
Tue, 6 Oct 2009 18:31:13 +0000 (11:31 -0700)
committerSage Weil <sage@newdream.net>
Tue, 6 Oct 2009 18:31:13 +0000 (11:31 -0700)
commit8fc91fd85950d106883852c6d215614ec28cc92d
treed2367bb82957da5ddfb48f64c6fd14e0dac6b4f8
parent31b8006e1d79e127a776c9414e3e0b5f9508047e
ceph: message pools

The msgpool is a basic mempool_t-like structure to preallocate
messages we expect to receive over the wire.  This ensures we have the
necessary memory preallocated to process replies to requests, or to
process unsolicited messages from various servers.

Signed-off-by: Sage Weil <sage@newdream.net>
fs/ceph/msgpool.c [new file with mode: 0644]
fs/ceph/msgpool.h [new file with mode: 0644]