aboutsummaryrefslogtreecommitdiffstats
path: root/sys/linux/sys_s390x.const
diff options
context:
space:
mode:
authorNecip Fazil Yildiran <necip@google.com>2020-07-08 14:09:12 +0000
committerDmitry Vyukov <dvyukov@google.com>2020-07-09 09:06:26 +0200
commitff85e8be1adbb22abfa2abac57cfaf51c0d23cfe (patch)
tree280337cc273da26c3eff3471554c6e105ecf3ffc /sys/linux/sys_s390x.const
parentbc238812ae6d1f5a7e99ff60b5b3089a73f1cfb3 (diff)
sys/linux: improved the desc for ioprio priority values
ioprio priority values (as passed to ioprio_set()) take values from a limited range. This fact was reflected in the descriptions.
Diffstat (limited to 'sys/linux/sys_s390x.const')
-rw-r--r--sys/linux/sys_s390x.const8
1 files changed, 8 insertions, 0 deletions
diff --git a/sys/linux/sys_s390x.const b/sys/linux/sys_s390x.const
index f0f759e7f..1227daba1 100644
--- a/sys/linux/sys_s390x.const
+++ b/sys/linux/sys_s390x.const
@@ -181,6 +181,14 @@ F_UNLCK = 2
F_WRLCK = 1
GRND_NONBLOCK = 1
GRND_RANDOM = 2
+IOPRIO_CLASS_BE_HIGH_PRIO = 16384
+IOPRIO_CLASS_BE_LOW_PRIO = 16391
+IOPRIO_CLASS_BE_MID_PRIO = 16388
+IOPRIO_CLASS_IDLE_PRIO = 24576
+IOPRIO_CLASS_NONE_PRIO = 0
+IOPRIO_CLASS_RT_HIGH_PRIO = 8192
+IOPRIO_CLASS_RT_LOW_PRIO = 8199
+IOPRIO_CLASS_RT_MID_PRIO = 8196
IOPRIO_WHO_PGRP = 2
IOPRIO_WHO_PROCESS = 1
IOPRIO_WHO_USER = 3