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: Jim Harris <james.r.harris@intel.com>
Change-Id: I8863b5060f41a48c2ace177f7440b85dc43f187d

Reviewed-on: https://review.gerrithub.io/423163
Tested-by: SPDK CI Jenkins <sys_sgci@intel.com>
Chandler-Test-Pool: SPDK Automated Test System <sys_sgsw@intel.com>
Reviewed-by: Ben Walker <benjamin.walker@intel.com>
Reviewed-by: Shuhei Matsumoto <shuhei.matsumoto.xt@hitachi.com>
This commit is contained in:
Jim Harris 2018-08-22 09:31:54 -07:00
parent 785e7fc354
commit 17a819f882

5
configure vendored
View File

@ -320,7 +320,7 @@ if [ "$CONFIG_RDMA" = "y" ]; then
CONFIG_RDMA_SEND_WITH_INVAL="y" CONFIG_RDMA_SEND_WITH_INVAL="y"
else else
CONFIG_RDMA_SEND_WITH_INVAL="n" CONFIG_RDMA_SEND_WITH_INVAL="n"
cat <<EOF echo "
******************************************************************************* *******************************************************************************
WARNING: The Infiniband Verbs opcode Send With Invalidate is either not WARNING: The Infiniband Verbs opcode Send With Invalidate is either not
supported or is not functional with the current version of libibverbs installed 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 be unable to leverage that operation using the currently installed version
of libibverbs, so Linux kernel NVMe-oF initiators based on kernels greater of libibverbs, so Linux kernel NVMe-oF initiators based on kernels greater
than or equal to 4.14 will see significantly reduced performance. than or equal to 4.14 will see significantly reduced performance.
******************************************************************************* *******************************************************************************"
EOF
fi fi
fi fi
fi fi