]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
tool: change default objectstore from filestore to bluestore 18066/head
authorSong Shun <song.shun3@zte.com.cn>
Sun, 1 Oct 2017 09:01:46 +0000 (17:01 +0800)
committerSong Shun <song.shun3@zte.com.cn>
Sun, 1 Oct 2017 09:04:19 +0000 (17:04 +0800)
  as Luminous gets released, it's better to switch default objectstore from filestore to bluestore.

Signed-off-by: Song Shun <song.shun3@zte.com.cn>
src/tools/ceph_objectstore_tool.cc

index 49cf02c32675a40fedafa2b813a3eafae3d50e4c..37a2e628efb821f80eedc4e688086d9bdb2996dc 100644 (file)
@@ -2498,7 +2498,7 @@ int main(int argc, char **argv)
   desc.add_options()
     ("help", "produce help message")
     ("type", po::value<string>(&type),
-     "Arg is one of [bluestore, filestore (default), memstore]")
+     "Arg is one of [bluestore (default), filestore, memstore]")
     ("data-path", po::value<string>(&dpath),
      "path to object store, mandatory")
     ("journal-path", po::value<string>(&jpath),
@@ -2613,7 +2613,7 @@ int main(int argc, char **argv)
     ::close(fd);
   }
   if (!vm.count("type") && type == "") {
-    type = "filestore";
+    type = "bluestore";
   }
   if (!vm.count("data-path") &&
      !(op == "dump-journal" && type == "filestore")) {