mirror of https://github.com/mkerrisk/man-pages
Minor updates
This commit is contained in:
parent
fecfb77703
commit
a98bcd58d8
|
@ -1,38 +1,26 @@
|
||||||
.\" This is _*_ nroff _*_ source. Emacs, gimme all those colors :)
|
.\" This is _*_ nroff _*_ source. Emacs, gimme all those colors :)
|
||||||
.\"
|
.\"
|
||||||
.\" Copyright (c) International Business Machines Corp., 2006
|
.\" Copyright (c) International Business Machines orp., 2006
|
||||||
.\"
|
.\"
|
||||||
.\" This program is free software; you can redistribute it and/or
|
.\" This program is free software; you can redistribute it and/or
|
||||||
.\" modify it under the terms of the GNU General Public License as
|
.\" modify it under the terms of the GNU General Public License as
|
||||||
.\" published by the Free Software Foundation; either version 2 of
|
.\" published by the Free Software Foundation; either version 2 of
|
||||||
.\" the License, or (at your option) any later version.
|
.\" the License, or (at your option) any later version.
|
||||||
.\"
|
.\"
|
||||||
.\" This program is distributed in the hope that it will be useful,
|
.\" This program is distributed in the hope that it will be useful,
|
||||||
.\" but WITHOUT ANY WARRANTY; without even the implied warranty of
|
.\" but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
.\" MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See
|
.\" MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See
|
||||||
.\" the GNU General Public License for more details.
|
.\" the GNU General Public License for more details.
|
||||||
.\"
|
.\"
|
||||||
.\" You should have received a copy of the GNU General Public License
|
.\" You should have received a copy of the GNU General Public License
|
||||||
.\" along with this program; if not, write to the Free Software
|
.\" along with this program; if not, write to the Free Software
|
||||||
.\" Foundation, Inc., 59 Temple Place, Suite 330, Boston,
|
.\" Foundation, Inc., 59 Temple Place, Suite 330, Boston,
|
||||||
.\" MA 02111-1307 USA
|
.\" MA 02111-1307 USA
|
||||||
.\"
|
.\"
|
||||||
.\" HISTORY:
|
.\" HISTORY:
|
||||||
.\" 2006-04-27, created by Eduardo M. Fleury <efleury@br.ibm.com>
|
.\" 2006-04-27, created by Eduardo M. Fleury <efleury@br.ibm.com>
|
||||||
.\" with various additions by Michael Kerrisk <mtk-manpages@gmx.net>
|
.\" with various additions by Michael Kerrisk <mtk-manpages@gmx.net>
|
||||||
.\"
|
.\"
|
||||||
.\" FIXME Documentation/block/ioprio.txt says:
|
|
||||||
.\" With the introduction of cfq v3 (aka cfq-ts or time sliced
|
|
||||||
.\" cfq), basic io priorities is supported for reads on files.
|
|
||||||
.\" Does some of this text need to be worked into the man page?
|
|
||||||
.\" Especially "supported for reads on files".
|
|
||||||
.\"
|
|
||||||
.\" FIXME
|
|
||||||
.\" We have some general problems:
|
|
||||||
.\" These calls aren't in glibc yet. Why aren't they there yet?
|
|
||||||
.\" Ask Jens Axboe about this. Perhaps something needs to be pushed
|
|
||||||
.\" to Ulrich Drepper so that suitable stuff ends up in the glibc
|
|
||||||
.\" tree.
|
|
||||||
.\"
|
.\"
|
||||||
.TH IOPRIO_GET 2 2006-04-27 "2.6.13" "Linux Programmer's Manual"
|
.TH IOPRIO_GET 2 2006-04-27 "2.6.13" "Linux Programmer's Manual"
|
||||||
.SH NAME
|
.SH NAME
|
||||||
|
@ -103,7 +91,7 @@ is the highest priority class;
|
||||||
.B IOPRIO_CLASS_IDLE
|
.B IOPRIO_CLASS_IDLE
|
||||||
is the lowest)
|
is the lowest)
|
||||||
or if it belongs to the same priority class as the other process but
|
or if it belongs to the same priority class as the other process but
|
||||||
has a lower priority number (a lower priority number means a
|
has a higher priority level (a lower priority number means a
|
||||||
higher priority level).
|
higher priority level).
|
||||||
|
|
||||||
The
|
The
|
||||||
|
@ -148,6 +136,12 @@ component.
|
||||||
.PP
|
.PP
|
||||||
See the NOTES section for more
|
See the NOTES section for more
|
||||||
information on scheduling classes and priorities.
|
information on scheduling classes and priorities.
|
||||||
|
|
||||||
|
I/O priorities are supported for reads and for synchronous (O_DIRECT,
|
||||||
|
O_SYNC) writes. I/O priorities are not supported for asynchronous
|
||||||
|
writes because they are issued outside the context of the program
|
||||||
|
dirtying the memory, and thus program-specific priorities do not apply.
|
||||||
|
|
||||||
.SH "RETURN VALUE"
|
.SH "RETURN VALUE"
|
||||||
On success,
|
On success,
|
||||||
.BR ioprio_get ()
|
.BR ioprio_get ()
|
||||||
|
@ -195,7 +189,7 @@ classes and priority levels for
|
||||||
.SH NOTES
|
.SH NOTES
|
||||||
These system calls only have an effect when used
|
These system calls only have an effect when used
|
||||||
in conjunction with an I/O scheduler that supports I/O priorities.
|
in conjunction with an I/O scheduler that supports I/O priorities.
|
||||||
As at kernel 2.6.16 the only such scheduler is the Completely Fair Queuing
|
As at kernel 2.6.17 the only such scheduler is the Completely Fair Queuing
|
||||||
(CFQ) I/O scheduler.
|
(CFQ) I/O scheduler.
|
||||||
.SS "Selecting an I/O Scheduler"
|
.SS "Selecting an I/O Scheduler"
|
||||||
I/O Schedulers are selected on a per-device basis via the special
|
I/O Schedulers are selected on a per-device basis via the special
|
||||||
|
@ -315,6 +309,6 @@ Suitable definitions can be found in
|
||||||
These system calls have been available on Linux since
|
These system calls have been available on Linux since
|
||||||
kernel 2.6.13.
|
kernel 2.6.13.
|
||||||
.SH "SEE ALSO"
|
.SH "SEE ALSO"
|
||||||
.BR getpriority "(2), " capabilities (7)
|
.BR getpriority "(2), " open "(2), " capabilities (7)
|
||||||
.sp
|
.sp
|
||||||
Documentation/block/ioprio.txt in the kernel source tree.
|
Documentation/block/ioprio.txt in the kernel source tree.
|
||||||
|
|
Loading…
Reference in New Issue