ip=""
nodaemon=0
smallmds=0
+short=0
ec=0
hitset=""
overwrite_conf=1
usage=$usage"\t--bluestore use bluestore 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"
usage_exit() {
printf "$usage"
--new | -n )
new=1
;;
+ --short )
+ short=1
+ ;;
--valgrind )
[ -z "$2" ] && usage_exit
valgrind=$2
auth service required = none
auth client required = none
EOF
+fi
+if [ "$short" -eq 1 ]; then
+ COSDSHORT=" osd max object name len = 460
+ osd max object namespace len = 64"
fi
cat <<EOF >> $conf_fn
bluestore block wal create = true
$COSDDEBUG
$COSDMEMSTORE
+$COSDSHORT
$extra_conf
[mon]
mon pg warn min per osd = 3