]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commitdiff
vstart.sh:drop filestore support
authorRongqi Sun <sunrongqi@huawei.com>
Fri, 5 May 2023 06:50:18 +0000 (14:50 +0800)
committerRongqi Sun <sunrongqi@huawei.com>
Tue, 23 May 2023 02:55:37 +0000 (10:55 +0800)
Signed-off-by: Rongqi Sun <sunrongqi@huawei.com>
(cherry picked from commit 41f2af4f5e70accd3da1a5761f73bda8786b7f4f)

src/vstart.sh

index e797dee6a65d0ac9b12d284f963939afa25ee054..1aa6c1defc8183250bf65c0d83c5e1560659ac10 100755 (executable)
@@ -160,11 +160,7 @@ overwrite_conf=0
 cephx=1 #turn cephx on by default
 gssapi_authx=0
 cache=""
-if [ `uname` = FreeBSD ]; then
-    objectstore="filestore"
-else
-    objectstore="bluestore"
-fi
+objectstore="bluestore"
 ceph_osd=ceph-osd
 rgw_frontend="beast"
 rgw_compression=""
@@ -183,7 +179,6 @@ if [[ "$(get_cmake_variable WITH_MGR_DASHBOARD_FRONTEND)" != "ON" ]] ||
 fi
 with_mgr_restful=false
 
-filestore_path=
 kstore_path=
 declare -a block_devs
 declare -a secondary_block_devs
@@ -229,7 +224,6 @@ options:
        --rgw_compression specify the rgw compression plugin
        --seastore use seastore as crimson osd backend
        -b, --bluestore use bluestore as the osd objectstore backend (default)
-       -f, --filestore use filestore as the osd objectstore backend
        -K, --kstore use kstore as the osd objectstore backend
        --cyanstore use cyanstore as the osd objectstore backend
        --memstore use memstore as the osd objectstore backend
@@ -430,10 +424,6 @@ case $1 in
         kstore_path=$2
         shift
         ;;
-    --filestore_path)
-        filestore_path=$2
-        shift
-        ;;
     -m)
         [ -z "$2" ] && usage_exit
         MON_ADDR=$2
@@ -472,9 +462,6 @@ case $1 in
     -b | --bluestore)
         objectstore="bluestore"
         ;;
-    -f | --filestore)
-        objectstore="filestore"
-        ;;
     -K | --kstore)
         objectstore="kstore"
         ;;
@@ -713,7 +700,6 @@ prepare_conf() {
         mon_max_pg_per_osd = ${MON_MAX_PG_PER_OSD:-1000}
         erasure code dir = $EC_PATH
         plugin dir = $CEPH_LIB
-        filestore fd cache size = 32
         run dir = $CEPH_OUT_DIR
         crash dir = $CEPH_OUT_DIR
         enable experimental unrecoverable data corrupting features = *
@@ -832,12 +818,6 @@ $DAEMONOPTS
         osd class default list = *
         osd fast shutdown = false
 
-        filestore wbthrottle xfs ios start flusher = 10
-        filestore wbthrottle xfs ios hard limit = 20
-        filestore wbthrottle xfs inodes hard limit = 30
-        filestore wbthrottle btrfs ios start flusher = 10
-        filestore wbthrottle btrfs ios hard limit = 20
-        filestore wbthrottle btrfs inodes hard limit = 30
         bluestore fsck on mount = true
         bluestore block create = true
 $BLUESTORE_OPTS
@@ -1025,9 +1005,7 @@ EOF
             if command -v btrfs > /dev/null; then
                 for f in $CEPH_DEV_DIR/osd$osd/*; do btrfs sub delete $f &> /dev/null || true; done
             fi
-            if [ -n "$filestore_path" ]; then
-                ln -s $filestore_path $CEPH_DEV_DIR/osd$osd
-            elif [ -n "$kstore_path" ]; then
+            if [ -n "$kstore_path" ]; then
                 ln -s $kstore_path $CEPH_DEV_DIR/osd$osd
             else
                 mkdir -p $CEPH_DEV_DIR/osd$osd
@@ -1510,7 +1488,6 @@ debug_objecter = 20
 debug_monc = 20
 debug_mgrc = 20
 debug_journal = 20
-debug_filestore = 20
 debug_bluestore = 20
 debug_bluefs = 20
 debug_rocksdb = 20