]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
os/bluestore: default bluestore_block_size 1T -> 100G 32283/head
authorSage Weil <sage@redhat.com>
Thu, 5 Dec 2019 18:58:12 +0000 (12:58 -0600)
committerNeha Ojha <nojha@redhat.com>
Mon, 16 Dec 2019 23:00:49 +0000 (15:00 -0800)
This makes vstart *way* faster.  This option is only really relevant
for dev test environments.  We bumped it up back in dbdd1d9b6ec286982b5e86d4c51f831cc16afc12
from 10G just to make ENOSPC less common in dev/test.  Let's see if 100G
is a better balance.

Signed-off-by: Sage Weil <sage@redhat.com>
(cherry picked from commit 57890fce7064811780823e298b31e7fced2fa0e3)

 Conflicts:
src/common/options.cc: we did not cherry-pick
        dbdd1d9b6ec286982b5e86d4c51f831cc16afc12 to nautilus, so we'll directly
        go from 10G->100G

src/common/options.cc

index cc10924dc51163db73d29d1bd35aba8bd4a1d03c..f0ba13aca207ee2a88b69f7c49254fda1e27da40 100644 (file)
@@ -4422,7 +4422,7 @@ std::vector<Option> get_global_options() {
     .set_description("Path to block device/file"),
 
     Option("bluestore_block_size", Option::TYPE_SIZE, Option::LEVEL_DEV)
-    .set_default(10_G)
+    .set_default(100_G)
     .set_flag(Option::FLAG_CREATE)
     .set_description("Size of file to create for backing bluestore"),