From 1c6455eaea17628010a3285ced1d7410242252c9 Mon Sep 17 00:00:00 2001 From: Sage Weil Date: Mon, 14 Nov 2016 10:42:53 -0500 Subject: [PATCH] os/bluestore: precondition enough to write two 256mb buffers We now match the new bluestore_rocksdb_options. Signed-off-by: Sage Weil --- src/common/config_opts.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/common/config_opts.h b/src/common/config_opts.h index 80c373b79ecc..2b89cf8fc6d1 100644 --- a/src/common/config_opts.h +++ b/src/common/config_opts.h @@ -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) -- 2.47.3