]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
os: rename and make use of the split_threshold parameter.
authorGreg Farnum <gregory.farnum@dreamhost.com>
Wed, 9 Nov 2011 19:43:21 +0000 (11:43 -0800)
committerGreg Farnum <gregory.farnum@dreamhost.com>
Wed, 9 Nov 2011 19:43:21 +0000 (11:43 -0800)
commit1ac6b47c7f8be98182112e18d0f1de35d880a199
tree2b4dc4199fad86dd4a247aed269778d13914c6e9
parent09455eeac4fb37c31998202ad9503901f53c21dc
os: rename and make use of the split_threshold parameter.

This was accidentally left out of the must_split calculation. Put it
in, and rename it to split_multiplier (as that is a much better name
for how it's used).

In the default case this won't actually change behavior, but it
makes the behavior configurable as it's supposed to be.

Signed-off-by: Greg Farnum <gregory.farnum@dreamhost.com>
src/os/HashIndex.cc
src/os/HashIndex.h