From 93eda120bf0ade1166dbc961a5dfd29e592434ad Mon Sep 17 00:00:00 2001 From: Thomas Schubart Date: Thu, 21 Apr 2022 13:29:14 +0000 Subject: [PATCH] Fix io limiting with cgroup v2 --- components/ws-daemon/pkg/cgroup/plugin_iolimit_v2.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/ws-daemon/pkg/cgroup/plugin_iolimit_v2.go b/components/ws-daemon/pkg/cgroup/plugin_iolimit_v2.go index ccfea0bec4e4cf..462dc1bc26146c 100644 --- a/components/ws-daemon/pkg/cgroup/plugin_iolimit_v2.go +++ b/components/ws-daemon/pkg/cgroup/plugin_iolimit_v2.go @@ -58,7 +58,7 @@ func (c *IOLimiterV2) Apply(ctx context.Context, basePath, cgroupPath string) er ticker := time.NewTicker(30 * time.Second) defer ticker.Stop() - ioMaxFile := filepath.Join(basePath, cgroupPath) + ioMaxFile := filepath.Join(basePath, cgroupPath, "workspace", "user") for { select {