]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
qa/standtalone/osd-bluefs-volume-ops: remove redundant code.
authorIgor Fedotov <ifedotov@suse.com>
Mon, 29 Oct 2018 13:30:36 +0000 (16:30 +0300)
committerIgor Fedotov <ifedotov@suse.com>
Mon, 29 Oct 2018 13:30:36 +0000 (16:30 +0300)
Signed-off-by: Igor Fedotov <ifedotov@suse.com>
qa/standalone/osd/osd-bluefs-volume-ops.sh

index 5b389499bb7d156b303eae7db3efbcd5a826d2b3..8da15a50383f0e3a07bbd17282ff9d31af9513aa 100755 (executable)
@@ -4,30 +4,6 @@ source $CEPH_ROOT/qa/standalone/ceph-helpers.sh
 
 [ `uname` = FreeBSD ] && exit 0
 
-function run0() {
-    local dir=$1
-    mkdir $dir/0 || return 1
-    export CEPH_ARGS
-    ofsid=$(uuidgen)
-    CEPH_ARGS+="--fsid=$(ofsid) --auth-supported=none "
-    CEPH_ARGS+="--mon-host=$CEPH_MON "
-
-    #ofsid=$(cat $dir/0.old/fsid)
-    echo "osd fsid $ofsid"
-    O=$CEPH_ARGS
-    CEPH_ARGS+="--log-file $dir/cot.log --log-max-recent 0 "
-    ceph-objectstore-tool --type bluestore --data-path $dir/0 --fsid $ofsid \
-                         --op mkfs --no-mon-config || return 1
-    ceph-objectstore-tool --data-path $dir/0.old --target-data-path $dir/0 \
-                         --op dup || return 1
-    CEPH_ARGS=$O
-
-    run_osd_bluestore $dir 0 || return 1
-
-    while ! ceph osd stat | grep '3 up' ; do sleep 1 ; done
-    ceph osd metadata 0 | grep bluestore || return 1
-}
-
 function run() {
     local dir=$1
     shift