commit | 78c2a44aae2950ecf0279590572b861288714946 | [log] [tgz] |
---|---|---|
author | Alex Elder <elder@inktank.com> | Wed May 01 12:43:04 2013 -0500 |
committer | Alex Elder <elder@inktank.com> | Thu May 02 11:58:30 2013 -0500 |
tree | 0b08672df26d2ecc61726d4577657633871a2269 | |
parent | 868311b1ebc9b203bae0d6d1f012ea5cbdadca03 [diff] |
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 <elder@inktank.com> Reviewed-by: Josh Durgin <josh.durgin@inktank.com>