]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
os/bluestore: leverage the type knowledge in BitMapAreaLeaf.
authorRadoslaw Zarzynski <rzarzynski@mirantis.com>
Thu, 2 Mar 2017 02:24:00 +0000 (03:24 +0100)
committerRadoslaw Zarzynski <rzarzynski@mirantis.com>
Thu, 2 Mar 2017 02:24:00 +0000 (03:24 +0100)
commit342502e87f227ef39bf2f67306e0fc2e4b1acaae
treebc54a2864e63c63b92960865275eccd162fb1ec4
parentf321309c9c892c4c213ee5f1fc8cdd559387fefb
os/bluestore: leverage the type knowledge in BitMapAreaLeaf.

We're sure the only element type BitMapAreaLeaf aggregates is
BitMapZone. There is no business to go through vptrs and thus
prohibit compiler to inline in a method that is crucial for
overall performance of the BitMap allocator.

Signed-off-by: Radoslaw Zarzynski <rzarzynski@mirantis.com>
src/os/bluestore/BitAllocator.cc
src/os/bluestore/BitAllocator.h