]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
buffer: allow mempool to be passed into raw* ctors and create methods
authorSage Weil <sage@redhat.com>
Thu, 19 Oct 2017 21:09:10 +0000 (16:09 -0500)
committerSage Weil <sage@redhat.com>
Mon, 23 Oct 2017 19:38:48 +0000 (14:38 -0500)
commit3cd334b6264998490e6fb8321fb7242ff82b36e6
treedb7dba545e79bc6cb0966cc74950e2329d998517
parent724a51cd442d35c950414b86608c48936b01b78b
buffer: allow mempool to be passed into raw* ctors and create methods

This is more convenient, and also faster than initializing it in
buffer_anon and the immediately moving it elsewhere.

Drop the optionality of the alignment argument.

No users yet.

Signed-off-by: Sage Weil <sage@redhat.com>
(cherry picked from commit 481277b8c92368b8cac8fdafe1848720ec1035c2)
src/common/buffer.cc
src/include/buffer.h