mirror of
https://github.com/moby/moby.git
synced 2022-11-09 12:21:53 -05:00
contrib/check-config.sh: fix IOSCHED_CFQ CFQ_GROUP_IOSCHED
These config options are removed by kernel commit f382fb0bcef4, which made its way into kernel v5.0-rc1. Make the check conditional. Signed-off-by: Kir Kolyshkin <kolyshkin@gmail.com>
This commit is contained in:
parent
070f9d9dd3
commit
18e0543587
1 changed files with 5 additions and 1 deletions
|
@ -283,8 +283,12 @@ else
|
||||||
netprio=CGROUP_NET_PRIO
|
netprio=CGROUP_NET_PRIO
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
if [ "$kernelMajor" -lt 5 ]; then
|
||||||
|
check_flags IOSCHED_CFQ CFQ_GROUP_IOSCHED
|
||||||
|
fi
|
||||||
|
|
||||||
flags=(
|
flags=(
|
||||||
BLK_CGROUP BLK_DEV_THROTTLING IOSCHED_CFQ CFQ_GROUP_IOSCHED
|
BLK_CGROUP BLK_DEV_THROTTLING
|
||||||
CGROUP_PERF
|
CGROUP_PERF
|
||||||
CGROUP_HUGETLB
|
CGROUP_HUGETLB
|
||||||
NET_CLS_CGROUP $netprio
|
NET_CLS_CGROUP $netprio
|
||||||
|
|
Loading…
Reference in a new issue