Skip to content

Commit

Permalink
script/check-config.sh: check CONFIG_BLK_CGROUP_IOCOST
Browse files Browse the repository at this point in the history
For `io.weight`

Co-authored-by: Akihiro Suda <[email protected]>
Signed-off-by: Kir Kolyshkin <[email protected]>
  • Loading branch information
kolyshkin and AkihiroSuda committed Dec 20, 2023
1 parent d87366f commit 5a4f521
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions script/check-config.sh
Original file line number Diff line number Diff line change
Expand Up @@ -305,6 +305,11 @@ if kernel_lt 5 0; then
check_flags IOSCHED_CFQ CFQ_GROUP_IOSCHED
fi

# Linux kernel commit 7caa47151ab2.
if kernel_ge 5 4; then
check_flags BLK_CGROUP_IOCOST
fi

flags=(
BLK_CGROUP BLK_DEV_THROTTLING
CGROUP_PERF
Expand Down

0 comments on commit 5a4f521

Please sign in to comment.