Skip to content

Commit

Permalink
Merge pull request #18066 from shun-s/wip-objectstore-tool
Browse files Browse the repository at this point in the history
tool: change default objectstore from filestore to bluestore

Reviewed-by: Sage Weil <sage@redhat.com>
  • Loading branch information
yuriw committed Oct 3, 2017
2 parents 7b1c77a + 341b13c commit c73730b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/tools/ceph_objectstore_tool.cc
Expand Up @@ -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),
Expand Down Expand Up @@ -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")) {
Expand Down

0 comments on commit c73730b

Please sign in to comment.