libceph: allocate ceph messages with a slab allocator
authorAlex Elder <elder@inktank.com>
Wed, 1 May 2013 17:43:04 +0000 (12:43 -0500)
committerAlex Elder <elder@inktank.com>
Thu, 2 May 2013 16:58:31 +0000 (11:58 -0500)
commite3d5d6380482b4a5e2e9d0d662f2ef6d56504aef
treed71655db3cb326d263e9be8b9837dcc7027d9dfd
parent78c2a44aae2950ecf0279590572b861288714946
libceph: allocate ceph messages with a slab allocator

Create a slab cache to manage ceph_msg structure allocation.

This is part of:
    http://tracker.ceph.com/issues/3926

Signed-off-by: Alex Elder <elder@inktank.com>
Reviewed-by: Josh Durgin <josh.durgin@inktank.com>
net/ceph/messenger.c