Commit 88ae3f28 authored by Michal Berger's avatar Michal Berger Committed by Jim Harris
Browse files

scripts/ceph: Don't enable filestore backend in Reef and beyond



It's deprecated and not supported anymore so don't use it.

Change-Id: Ic0324fb893b9083ee03ceed439b99b0cb088a741
Signed-off-by: default avatarMichal Berger <michal.berger@intel.com>
Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/21891


Reviewed-by: default avatarJim Harris <jim.harris@samsung.com>
Tested-by: default avatarSPDK CI Jenkins <sys_sgci@intel.com>
Reviewed-by: default avatarKonrad Sztyber <konrad.sztyber@intel.com>
parent 8615fc53
Loading
Loading
Loading
Loading
+5 −2
Original line number Diff line number Diff line
@@ -119,8 +119,11 @@ if [ $update_config = true ]; then
	fsid=$(ceph -s | grep id | awk '{print $2}')
	sed -i 's/perf = true/perf = true\n\tfsid = '$fsid' \n/g' $ceph_conf

	# filestore backend got deprecated in the Reef release and is no longer supported
	if ((ceph_maj < 18)); then
		# unify the filesystem with the old versions.
		sed -i 's/perf = true/perf = true\n\tosd objectstore = filestore\n/g' $ceph_conf
	fi
	cat ${ceph_conf}
fi