cache=""
memstore=0
bluestore=0
+lockdep=${LOCKDEP:-1}
VSTART_SEC="client.vstart.sh"
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"
+usage=$usage"\t--nolockdep disable lockdep\n"
usage_exit() {
printf "$usage"
fi
shift
;;
+ --nolockdep )
+ lockdep=0
+ ;;
* )
usage_exit
esac
osd objectstore = bluestore'
fi
-# lockdep everywhere?
-# export CEPH_ARGS="--lockdep 1"
-
if [ -z "$CEPH_PORT" ]; then
CEPH_PORT=6789
[ -e ".ceph_port" ] && CEPH_PORT=`cat .ceph_port`
filestore fd cache size = 32
run dir = $CEPH_OUT_DIR
enable experimental unrecoverable data corrupting features = *
+EOF
+if [ "$lockdep" -eq 1 ] ; then
+cat <<EOF >> $conf_fn
lockdep = true
EOF
+fi
if [ "$cephx" -eq 1 ] ; then
cat <<EOF >> $conf_fn
auth supported = cephx