]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
config: provide settings for the LevelDB stores we use 215/head
authorGreg Farnum <greg@inktank.com>
Tue, 16 Apr 2013 17:59:21 +0000 (10:59 -0700)
committerGreg Farnum <greg@inktank.com>
Tue, 16 Apr 2013 17:59:21 +0000 (10:59 -0700)
commitd8a354d511c96f5a1a25ec907f96e77f047b7c01
tree92409747f29a508653b29b26541806be05082d45
parenta0ae2ece49b6da8739a405f33e5c84e24e52d8e6
config: provide settings for the LevelDB stores we use

Now that we can set up the LevelDB options internally, provide
config options on the OSD and the Monitor. We leave the OSD values
at the defaults for now as they're performance-sensitive, but we
set new values on the Monitor so that it can scale to large PGMaps.
(Previously there were issues with large PGMaps taking forever to write;
these changes to the use of compression and the default block and
write buffers counteract them.)

Since we pass these variables through, users who are interested in
doing so now can test and tune them more appropriately.

Reported-by: Jim Schutt <jaschut@sandia.gov>
Signed-off-by: Greg Farnum <greg@inktank.com>
src/common/config_opts.h
src/mon/MonitorDBStore.h
src/os/FileStore.cc