]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph-client.git/commit
ceph: message pools
authorSage Weil <sage@newdream.net>
Mon, 5 Oct 2009 22:47:33 +0000 (15:47 -0700)
committerSage Weil <sage@newdream.net>
Mon, 5 Oct 2009 22:47:33 +0000 (15:47 -0700)
commitf71eef8b3f28be0217cfc5316b5d492a6faa0145
treed3c22b4ac28d669a58dd78755d3dfe28c5be90f7
parentb431450a04956dc3c139d81ed783c22a374dd0df
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]