You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
config-linux: Drop redundant 'blkio' prefix from blockIO properties
These are long enough without the prefix, and
linux.resources.blockIO.blkioWeight, etc. are just as specific as
linux.resources.blockIO.weight.
Signed-off-by: W. Trevor King <[email protected]>
Copy file name to clipboardExpand all lines: config-linux.md
+9-9Lines changed: 9 additions & 9 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -339,18 +339,18 @@ For more information, see the kernel cgroups documentation about [blkio][cgroup-
339
339
340
340
The following parameters can be specified to set up the controller:
341
341
342
-
***`blkioWeight`***(uint16, OPTIONAL)* - specifies per-cgroup weight. This is default weight of the group on all devices until and unless overridden by per-device rules.
342
+
***`weight`***(uint16, OPTIONAL)* - specifies per-cgroup weight. This is default weight of the group on all devices until and unless overridden by per-device rules.
343
343
344
-
***`blkioLeafWeight`***(uint16, OPTIONAL)* - equivalents of `blkioWeight` for the purpose of deciding how much weight tasks in the given cgroup has while competing with the cgroup's child cgroups.
344
+
***`leafWeight`***(uint16, OPTIONAL)* - equivalents of `weight` for the purpose of deciding how much weight tasks in the given cgroup has while competing with the cgroup's child cgroups.
345
345
346
-
***`blkioWeightDevice`***(array of objects, OPTIONAL)* - specifies the list of devices which will be bandwidth rate limited. The following parameters can be specified per-device:
346
+
***`weightDevice`***(array of objects, OPTIONAL)* - specifies the list of devices which will be bandwidth rate limited. The following parameters can be specified per-device:
347
347
***`major, minor`***(int64, REQUIRED)* - major, minor numbers for device. More info in [mknod(1)][mknod.1] man page.
348
348
***`weight`***(uint16, OPTIONAL)* - bandwidth rate for the device.
349
349
***`leafWeight`***(uint16, OPTIONAL)* - bandwidth rate for the device while competing with the cgroup's child cgroups, CFQ scheduler only
350
350
351
351
You MUST specify at least one of `weight` or `leafWeight` in a given entry, and MAY specify both.
352
352
353
-
***`blkioThrottleReadBpsDevice`**, **`blkioThrottleWriteBpsDevice`**, **`blkioThrottleReadIOPSDevice`**, **`blkioThrottleWriteIOPSDevice`***(array of objects, OPTIONAL)* - specify the list of devices which will be IO rate limited.
353
+
***`throttleReadBpsDevice`**, **`throttleWriteBpsDevice`**, **`throttleReadIOPSDevice`**, **`throttleWriteIOPSDevice`***(array of objects, OPTIONAL)* - specify the list of devices which will be IO rate limited.
354
354
The following parameters can be specified per-device:
355
355
***`major, minor`***(int64, REQUIRED)* - major, minor numbers for device. More info in [mknod(1)][mknod.1] man page.
356
356
***`rate`***(uint64, REQUIRED)* - IO rate limit for the device
@@ -359,9 +359,9 @@ The following parameters can be specified to set up the controller:
359
359
360
360
```json
361
361
"blockIO": {
362
-
"blkioWeight": 10,
363
-
"blkioLeafWeight": 10,
364
-
"blkioWeightDevice": [
362
+
"weight": 10,
363
+
"leafWeight": 10,
364
+
"weightDevice": [
365
365
{
366
366
"major": 8,
367
367
"minor": 0,
@@ -374,14 +374,14 @@ The following parameters can be specified to set up the controller:
0 commit comments