]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
os: bring leveldbstore options up to date
authorGreg Farnum <greg@inktank.com>
Wed, 10 Apr 2013 22:58:42 +0000 (15:58 -0700)
committerGreg Farnum <greg@inktank.com>
Fri, 12 Apr 2013 23:29:02 +0000 (16:29 -0700)
commita0ae2ece49b6da8739a405f33e5c84e24e52d8e6
tree3cf39cb473f00e61ecf526c9bc50439c8e5805ef
parent6b98162f2b80025be3904f2ecbec2f39ec55f4ee
os: bring leveldbstore options up to date

LevelDB has a lot of options which we don't implement right now. Add
an options struct to the LevelDBStore which users can access as they
wish in order to set values different from the defaults.
This will let us set various size values, as well as turning on
caching or bloom filter read optimizations.

Signed-off-by: Jim Schutt <jaschut@sandia.gov>
Signed-off-by: Greg Farnum <greg@inktank.com>
src/os/LevelDBStore.cc
src/os/LevelDBStore.h