]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
buffer: use raw_combined for certain allocations
authorSage Weil <sage@redhat.com>
Thu, 11 Feb 2016 16:48:44 +0000 (11:48 -0500)
committerSage Weil <sage@redhat.com>
Tue, 1 Mar 2016 13:47:29 +0000 (08:47 -0500)
commit73dcd26fc8798e09d93520c583d63edb28ffc631
tree72749c7d0eb2ffa1e9e1f72760c544aba43b27c3
parent6be3b99d5d702914796ece32368d5d0ad2ec5306
buffer: use raw_combined for certain allocations

If the alignment is on a page boundary, or the allocation is big,
a separate buffer::raw goes faster.  The rest of the time,
a raw_combined does.

Signed-off-by: Sage Weil <sage@redhat.com>
src/common/buffer.cc