Skip to content

Commit 5a4f521

Browse files
script/check-config.sh: check CONFIG_BLK_CGROUP_IOCOST
For `io.weight` Co-authored-by: Akihiro Suda <[email protected]> Signed-off-by: Kir Kolyshkin <[email protected]>
1 parent d87366f commit 5a4f521

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

script/check-config.sh

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -305,6 +305,11 @@ if kernel_lt 5 0; then
305305
check_flags IOSCHED_CFQ CFQ_GROUP_IOSCHED
306306
fi
307307

308+
# Linux kernel commit 7caa47151ab2.
309+
if kernel_ge 5 4; then
310+
check_flags BLK_CGROUP_IOCOST
311+
fi
312+
308313
flags=(
309314
BLK_CGROUP BLK_DEV_THROTTLING
310315
CGROUP_PERF

0 commit comments

Comments
 (0)