diff options
Diffstat (limited to 'man2/ioprio_set.2')
-rw-r--r-- | man2/ioprio_set.2 | 23 |
1 files changed, 12 insertions, 11 deletions
diff --git a/man2/ioprio_set.2 b/man2/ioprio_set.2 index b4b9fe080..a87c7b714 100644 --- a/man2/ioprio_set.2 +++ b/man2/ioprio_set.2 @@ -26,7 +26,7 @@ Standard C library .IR Note : glibc provides no wrappers for these system calls, necessitating the use of -.BR syscall (2). +.MR syscall 2 . .SH DESCRIPTION The .BR ioprio_get () @@ -195,7 +195,7 @@ Linux 2.6.13. .SH NOTES Two or more processes or threads can share an I/O context. This will be the case when -.BR clone (2) +.MR clone 2 was called with the .B CLONE_IO flag. @@ -208,9 +208,9 @@ priority of all threads in a process, you may need to call on each of the threads. The thread ID that you would need for this operation is the one that is returned by -.BR gettid (2) +.MR gettid 2 or -.BR clone (2). +.MR clone 2 . .P These system calls have an effect only when used in conjunction with an I/O scheduler that supports I/O priorities. @@ -219,7 +219,8 @@ As at kernel 2.6.17 the only such scheduler is the Completely Fair Queuing .P If no I/O scheduler has been set for a thread, then by default the I/O priority will follow the CPU nice value -.RB ( setpriority (2)). +\%(\c +.MR setpriority 2 ). Before Linux 2.6.24, once an I/O priority had been set using .BR ioprio_set (), @@ -297,7 +298,7 @@ The class data (priority) determines how much I/O bandwidth the process will get. Best-effort priority levels are analogous to CPU nice values (see -.BR getpriority (2)). +.MR getpriority 2 ). The priority level determines a priority relative to other processes in the best-effort scheduling class. Priority levels range from 0 (highest) to 7 (lowest). @@ -352,11 +353,11 @@ the function prototypes and macros described on this page. Suitable definitions can be found in .IR linux/ioprio.h . .SH SEE ALSO -.BR ionice (1), -.BR getpriority (2), -.BR open (2), -.BR capabilities (7), -.BR cgroups (7) +.MR ionice 1 , +.MR getpriority 2 , +.MR open 2 , +.MR capabilities 7 , +.MR cgroups 7 .P .I Documentation/block/ioprio.txt in the Linux kernel source tree |