]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
os/bluestore: precondition enough to write two 256mb buffers 11919/head
authorSage Weil <sage@redhat.com>
Mon, 14 Nov 2016 15:42:53 +0000 (10:42 -0500)
committerSage Weil <sage@redhat.com>
Mon, 14 Nov 2016 15:42:53 +0000 (10:42 -0500)
We now match the new bluestore_rocksdb_options.

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

index 80c373b79ecc02af4d3b7dff86c715c3c15cccf2..2b89cf8fc6d135a446536cefa904a49c9025981e 100644 (file)
@@ -999,7 +999,7 @@ OPTION(bluestore_block_wal_path, OPT_STR, "")
 OPTION(bluestore_block_wal_size, OPT_U64, 96 * 1024*1024) // rocksdb wal
 OPTION(bluestore_block_wal_create, OPT_BOOL, false)
 OPTION(bluestore_block_preallocate_file, OPT_BOOL, false) //whether preallocate space if block/db_path/wal_path is file rather that block device.
-OPTION(bluestore_precondition_bluefs, OPT_U64, 128*1024*1024)  // write this much data at mkfs
+OPTION(bluestore_precondition_bluefs, OPT_U64, 512*1024*1024)  // write this much data at mkfs
 OPTION(bluestore_precondition_bluefs_block, OPT_U64, 1048576)
 OPTION(bluestore_csum_type, OPT_STR, "crc32c") // none|xxhash32|xxhash64|crc32c|crc32c_16|crc32c_8
 OPTION(bluestore_csum_min_block, OPT_U32, 4096)