]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
bluestore, common/options.cc: disable bluefs_preextend_wal_files
authorNeha Ojha <nojha@redhat.com>
Thu, 28 May 2020 14:34:52 +0000 (14:34 +0000)
committerJosh Durgin <jdurgin@redhat.com>
Fri, 29 May 2020 15:15:45 +0000 (08:15 -0700)
This is a temporary fix for https://tracker.ceph.com/issues/45613
to avoid WAL corruption because of enabling bluefs_preextend_wal_files
and bluefs_buffered_io together.

Fixes: https://tracker.ceph.com/issues/45613
Signed-off-by: Neha Ojha <nojha@redhat.com>
src/common/options.cc

index bb3b3ef393bdbd17046a92c5b92cd172b77ff333..f44c03f6c3b2db8d5f38506364e03dfc519540af 100644 (file)
@@ -4008,7 +4008,7 @@ std::vector<Option> get_global_options() {
     .set_description(""),
 
     Option("bluefs_preextend_wal_files", Option::TYPE_BOOL, Option::LEVEL_ADVANCED)
-    .set_default(true)
+    .set_default(false)
     .set_description("Preextent rocksdb wal files on mkfs to avoid performance penalty"),
 
     Option("bluefs_log_replay_check_allocations", Option::TYPE_BOOL, Option::LEVEL_ADVANCED)