Merge pull request #29408 from neha-ojha/wip-bs-fsck-mnt

common/options.cc: change default value of bluestore_fsck_on_mount_deep to false

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
Reviewed-by: Adam Kupczyk <akupczyk@redhat.com>
Reviewed-by: Igor Fedotov <ifedotov@suse.com>
This commit is contained in:
Neha Ojha 2019-08-02 11:51:22 -07:00 committed by GitHub
commit 75e950ce0b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -4684,16 +4684,16 @@ std::vector<Option> get_global_options() {
.set_description("Run fsck at mount"),
Option("bluestore_fsck_on_mount_deep", Option::TYPE_BOOL, Option::LEVEL_DEV)
.set_default(true)
.set_description("Run deep fsck at mount"),
.set_default(false)
.set_description("Run deep fsck at mount when bluestore_fsck_on_mount is set to true"),
Option("bluestore_fsck_on_umount", Option::TYPE_BOOL, Option::LEVEL_DEV)
.set_default(false)
.set_description("Run fsck at umount"),
Option("bluestore_fsck_on_umount_deep", Option::TYPE_BOOL, Option::LEVEL_DEV)
.set_default(true)
.set_description("Run deep fsck at umount"),
.set_default(false)
.set_description("Run deep fsck at umount when bluestore_fsck_on_umount is set to true"),
Option("bluestore_fsck_on_mkfs", Option::TYPE_BOOL, Option::LEVEL_DEV)
.set_default(true)