]> git.baikalelectronics.ru Git - kernel.git/commit
rbd: allocate image requests with a slab allocator
authorAlex Elder <elder@inktank.com>
Wed, 1 May 2013 17:43:03 +0000 (12:43 -0500)
committerAlex Elder <elder@inktank.com>
Thu, 2 May 2013 16:58:29 +0000 (11:58 -0500)
commitc3069d247c6435a2259bd1e0443f3e0bb5471bb0
treee3d81737000df3bc76ed51b46f2963df7a25f45c
parent4cc4e586c41f3d5bf3dc24ec03bce0c5f58cdd06
rbd: allocate image requests with a slab allocator

Create a slab cache to manage rbd_img_request allocation.  Nothing
too fancy at this point--we'll still initialize everything at
allocation time (no constructor)

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>
drivers/block/rbd.c