From 19d1b5f965a3b3dd8aaf46590b6430f4779ca83f Mon Sep 17 00:00:00 2001 From: Karol Latecki Date: Thu, 27 Jan 2022 14:41:35 +0100 Subject: [PATCH] pkgdep/git: reduce irdma flush delay before building Reducing this value causes "nvme disconnect" operations to return much quicker. Without this change disconnecting from Kernel Target takes about 40-50 seconds, from SPDK Target about 2 minutes. Fixes #1748 Change-Id: Ib74d89735b4345cbeaf172190356e2c63f168fd0 Signed-off-by: Karol Latecki Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/11309 Tested-by: SPDK CI Jenkins Community-CI: Broadcom CI Reviewed-by: Monica Kenguva Reviewed-by: Krzysztof Karas Reviewed-by: Konrad Sztyber Reviewed-by: Jim Harris --- test/common/config/pkgdep/git | 2 ++ 1 file changed, 2 insertions(+) diff --git a/test/common/config/pkgdep/git b/test/common/config/pkgdep/git index d30cee18c..0ea0342f4 100644 --- a/test/common/config/pkgdep/git +++ b/test/common/config/pkgdep/git @@ -428,6 +428,8 @@ function install_irdma() { ( cd "$GIT_REPOS/irdma-$IRDMA_VERSION" + sed -i "s/IRDMA_FLUSH_DELAY_MS 1500/IRDMA_FLUSH_DELAY_MS 50/" \ + "$GIT_REPOS/irdma-$IRDMA_VERSION/src/irdma/verbs.h" "$GIT_REPOS/irdma-$IRDMA_VERSION/build.sh" )