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 <karol.latecki@intel.com>
Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/11309
Tested-by: SPDK CI Jenkins <sys_sgci@intel.com>
Community-CI: Broadcom CI <spdk-ci.pdl@broadcom.com>
Reviewed-by: Monica Kenguva <monica.kenguva@intel.com>
Reviewed-by: Krzysztof Karas <krzysztof.karas@intel.com>
Reviewed-by: Konrad Sztyber <konrad.sztyber@intel.com>
Reviewed-by: Jim Harris <james.r.harris@intel.com>
This commit is contained in:
Karol Latecki 2022-01-27 14:41:35 +01:00 committed by Jim Harris
parent 639f6c3a60
commit 19d1b5f965

View File

@ -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"
)