Skip to content

Commit 5bc62f1

Browse files
authored
Merge pull request #1194 from utam0k/io-thr-v1-v2
Clarify I/O throttling differences between cgroup v1 and v2
2 parents 33f13d1 + 9d7c878 commit 5bc62f1

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

config-linux.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -418,7 +418,9 @@ The following parameters can be specified to set up the controller:
418418
### <a name="configLinuxBlockIO" />Block IO
419419

420420
**`blockIO`** (object, OPTIONAL) represents the cgroup subsystem `blkio` which implements the block IO controller.
421-
For more information, see the kernel cgroups documentation about [blkio][cgroup-v1-blkio].
421+
For more information, see the kernel cgroups documentation about [blkio][cgroup-v1-blkio] of cgroup v1 or [io][cgroup-v2-io] of cgroup v2, .
422+
423+
Note that I/O throttling settings in cgroup v1 apply only to Direct I/O due to kernel implementation constraints, while this limitation does not exist in cgroup v2.
422424

423425
The following parameters can be specified to set up the controller:
424426

@@ -954,6 +956,7 @@ subset of the available options.
954956
[cgroup-v1-pids]: https://www.kernel.org/doc/Documentation/cgroup-v1/pids.txt
955957
[cgroup-v1-rdma]: https://www.kernel.org/doc/Documentation/cgroup-v1/rdma.txt
956958
[cgroup-v2]: https://www.kernel.org/doc/Documentation/cgroup-v2.txt
959+
[cgroup-v2-io]: https://docs.kernel.org/admin-guide/cgroup-v2.html#io
957960
[devices]: https://www.kernel.org/doc/Documentation/admin-guide/devices.txt
958961
[devpts]: https://www.kernel.org/doc/Documentation/filesystems/devpts.txt
959962
[file]: http://pubs.opengroup.org/onlinepubs/9699919799/basedefs/V1_chap03.html#tag_03_164

0 commit comments

Comments
 (0)