]> git.baikalelectronics.ru Git - kernel.git/commit
ceph: rewrite msgpool using mempool_t
authorSage Weil <sage@newdream.net>
Thu, 1 Apr 2010 22:23:14 +0000 (15:23 -0700)
committerSage Weil <sage@newdream.net>
Mon, 17 May 2010 22:25:18 +0000 (15:25 -0700)
commit53c2c89e6d759dfc6dd83de30f4a148ca258a5fb
tree642144233343a9cfbcac77924f3976206c8403a3
parentb2271d2e6bba00c156b7787321a81780f59e057d
ceph: rewrite msgpool using mempool_t

Since we don't need to maintain large pools of messages, we can just
use the standard mempool_t.  We maintain a msgpool 'wrapper' because we
need the mempool_t* in the alloc function, and mempool gives us only
pool_data.

Signed-off-by: Sage Weil <sage@newdream.net>
fs/ceph/msgpool.c
fs/ceph/msgpool.h