.\" with various additions by Michael Kerrisk <mtk.manpages@gmail.com>
.\"
.\"
-.TH IOPRIO_SET 2 2007-06-01 "Linux" "Linux Programmer's Manual"
+.TH IOPRIO_SET 2 2008-07-09 "Linux" "Linux Programmer's Manual"
.SH NAME
ioprio_get, ioprio_set \- get/set I/O scheduling class and priority
.SH SYNOPSIS
This is the idle scheduling class.
Processes running at this level only get I/O
time when no-one else needs the disk.
-The idle class has no class
-data.
+The idle class has no class data.
Attention is required when assigning this priority class to a process,
since it may become starved if higher priority processes are
constantly accessing the disk.
.B "What is the desired priority"
Attempts to set very high priorities
.RB ( IOPRIO_CLASS_RT )
-or very low ones
-.RB ( IOPRIO_CLASS_IDLE )
require the
.B CAP_SYS_ADMIN
capability.
+Kernel versions up to 2.6.24 also required
+.B CAP_SYS_ADMIN
+to set a very low priority
+.RB ( IOPRIO_CLASS_IDLE ),
+but since Linux 2.6.25, this is no longer required.
.PP
A call to
.BR ioprio_set ()