From: Alex Elder Date: Wed, 1 May 2013 17:43:04 +0000 (-0500) Subject: rbd: allocate image object names with a slab allocator X-Git-Tag: omap-for-v3.10/dt-fixes-for-merge-window~26^2~4 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=78c2a44aae2950ecf0279590572b861288714946;p=pandora-kernel.git rbd: allocate image object names with a slab allocator The names of objects used for image object requests are always fixed size. So create a slab cache to manage them. Define a new function rbd_segment_name_free() to match rbd_segment_name() (which is what supplies the dynamically-allocated name buffer). This is part of: http://tracker.ceph.com/issues/3926 Signed-off-by: Alex Elder Reviewed-by: Josh Durgin --- Reading git-diff-tree failed