]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
vstart.sh: use bluestore as default osd objectstore backend 17100/head
authormychoxin <mychoxin@gmail.com>
Sat, 19 Aug 2017 02:00:37 +0000 (10:00 +0800)
committermychoxin <mychoxin@gmail.com>
Wed, 23 Aug 2017 05:35:56 +0000 (13:35 +0800)
Signed-off-by: mychoxin <mychoxin@gmail.com>
src/vstart.sh

index 82ec76bf94ee49b1bac36894a54815cbc14f5126..31add766824d0de68b962b9febf7988c687e7fb7 100755 (executable)
@@ -106,7 +106,7 @@ overwrite_conf=1
 cephx=1 #turn cephx on by default
 cache=""
 memstore=0
-bluestore=0
+bluestore=1
 rgw_frontend="civetweb"
 rgw_compression=""
 lockdep=${LOCKDEP:-1}
@@ -150,7 +150,8 @@ usage=$usage"\t--mgr_num specify ceph mgr count\n"
 usage=$usage"\t--rgw_port specify ceph rgw http listen port\n"
 usage=$usage"\t--rgw_frontend specify the rgw frontend configuration\n"
 usage=$usage"\t--rgw_compression specify the rgw compression plugin\n"
-usage=$usage"\t-b, --bluestore use bluestore as the osd objectstore backend\n"
+usage=$usage"\t-b, --bluestore use bluestore as the osd objectstore backend (default)\n"
+usage=$usage"\t-f, --filestore use filestore as the osd objectstore backend\n"
 usage=$usage"\t--memstore use memstore as the osd objectstore backend\n"
 usage=$usage"\t--cache <pool>: enable cache tiering on pool\n"
 usage=$usage"\t--short: short object names only; necessary for ext4 dev\n"
@@ -291,6 +292,9 @@ case $1 in
     -b | --bluestore )
            bluestore=1
            ;;
+    -f | --filestore )
+           bluestore=0
+           ;;
     --hitset )
            hitset="$hitset $2 $3"
            shift