Skip to content

Commit ed055da

Browse files
committed
[Backport of DLPX-94858] Delphix Engine NFS Server stops responding under heavy I/O
PR URL: https://www.github.com/delphix/linux-pkg/pull/363
1 parent 835e11b commit ed055da

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

default-package-config.sh

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -99,9 +99,14 @@ function kernel_build() {
9999
# Canonical's releases and our releases.
100100
#
101101
local canonical_abinum delphix_abinum kernel_release kernel_version
102+
102103
canonical_abinum=$(fakeroot debian/rules printenv | grep -E '^abinum ' | cut -d= -f2 | tr -d '[:space:]')
103104
delphix_abinum="${canonical_abinum}-$(date -u +"dx%Y%m%d%H")-$(git rev-parse --short HEAD)"
105+
104106
kernel_release=$(fakeroot debian/rules printenv | grep -E '^release ' | cut -d= -f2 | tr -d '[:space:]')
107+
if [[ -z "$kernel_release" ]]; then
108+
kernel_release=$(fakeroot debian/rules printenv | grep -E '^DEB_VERSION_UPSTREAM ' | cut -d= -f2 | tr -d '[:space:]')
109+
fi
105110

106111
#
107112
# We record the kernel version into a file. This field is consumed

0 commit comments

Comments
 (0)