]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
os/bluestore: precondition rocksdb on mkfs 10814/head
authorSage Weil <sage@redhat.com>
Tue, 27 Sep 2016 15:38:42 +0000 (11:38 -0400)
committerSage Weil <sage@redhat.com>
Tue, 27 Sep 2016 15:38:42 +0000 (11:38 -0400)
commit0e2198fa15683289efbf514b96d55ab61c68d1d6
tree4ce1b73ad996301b77594d4b3d83443423b04ead
parent828c100647f5721758381c76d170f06be6bc782b
os/bluestore: precondition rocksdb on mkfs

Write N bytes of garbage to the kv store on startup.  With rocksdb,
this ensures that our log files are preallocated.

This option needs to match up with the rocksdb tunables so that it
is enough data to start recycling log files.  For now, start with
128MB.

Signed-off-by: Sage Weil <sage@redhat.com>
src/common/config_opts.h
src/os/bluestore/BlueStore.cc