Commit 17a819f8 authored by Jim Harris's avatar Jim Harris
Browse files

configure: use echo to print RDMA invalidate warning



Using cat << EOF seems to cause problems on some tests
(like iscsi ext4test.sh) where we copy the SPDK repository
into a filesystem on an iSCSI LUN, and do a (cd $dir &&
./configure).  So use echo instead to work around this
problem.

Fixes GitHub issue #412.

Signed-off-by: default avatarJim Harris <james.r.harris@intel.com>
Change-Id: I8863b5060f41a48c2ace177f7440b85dc43f187d

Reviewed-on: https://review.gerrithub.io/423163


Tested-by: default avatarSPDK CI Jenkins <sys_sgci@intel.com>
Chandler-Test-Pool: SPDK Automated Test System <sys_sgsw@intel.com>
Reviewed-by: default avatarBen Walker <benjamin.walker@intel.com>
Reviewed-by: default avatarShuhei Matsumoto <shuhei.matsumoto.xt@hitachi.com>
parent 785e7fc3
Loading
Loading
Loading
Loading
+2 −3
Original line number Diff line number Diff line
@@ -320,7 +320,7 @@ if [ "$CONFIG_RDMA" = "y" ]; then
			CONFIG_RDMA_SEND_WITH_INVAL="y"
		else
			CONFIG_RDMA_SEND_WITH_INVAL="n"
			cat <<EOF
			echo "
*******************************************************************************
WARNING: The Infiniband Verbs opcode Send With Invalidate is either not
supported or is not functional with the current version of libibverbs installed
@@ -333,8 +333,7 @@ functionality, but greatly reduced performance. The SPDK NVMe-oF target will
be unable to leverage that operation using the currently installed version
of libibverbs, so Linux kernel NVMe-oF initiators based on kernels greater
than or equal to 4.14 will see significantly reduced performance.
*******************************************************************************
EOF
*******************************************************************************"
		fi
	fi
fi