summaryrefslogtreecommitdiff
path: root/Documentation
diff options
context:
space:
mode:
authorAndrew Morton <akpm@osdl.org>2004-02-18 05:00:18 -0800
committerLinus Torvalds <torvalds@ppc970.osdl.org>2004-02-18 05:00:18 -0800
commit98fabcaab54ecd736cfc0f290e9e05cffb0294a0 (patch)
treea05ebdf248b04581271c1ed998be38a69c33a710 /Documentation
parent9c27c441c924a4220b7578ff21f8eec29d3eb24e (diff)
[PATCH] aio sysctl parms
From: Janet Morgan <janetmor@us.ibm.com> It looks like aio_nr and aio_max_nr were intended to be sysctl parameters.
Diffstat (limited to 'Documentation')
-rw-r--r--Documentation/filesystems/proc.txt9
-rw-r--r--Documentation/sysctl/fs.txt10
2 files changed, 19 insertions, 0 deletions
diff --git a/Documentation/filesystems/proc.txt b/Documentation/filesystems/proc.txt
index df6a09bb743f..22fd3adcc96e 100644
--- a/Documentation/filesystems/proc.txt
+++ b/Documentation/filesystems/proc.txt
@@ -900,6 +900,15 @@ super-nr shows the number of currently allocated ones.
Every mounted file system needs a super block, so if you plan to mount lots of
file systems, you may want to increase these numbers.
+aio-nr and aio-max-nr
+---------------------
+
+aio-nr is the running total of the number of events specified on the
+io_setup system call for all currently active aio contexts. If aio-nr
+reaches aio-max-nr then io_setup will fail with EAGAIN. Note that
+raising aio-max-nr does not result in the pre-allocation or re-sizing
+of any kernel data structures.
+
2.2 /proc/sys/fs/binfmt_misc - Miscellaneous binary formats
-----------------------------------------------------------
diff --git a/Documentation/sysctl/fs.txt b/Documentation/sysctl/fs.txt
index fbbe3cafffa9..0b62c62142cf 100644
--- a/Documentation/sysctl/fs.txt
+++ b/Documentation/sysctl/fs.txt
@@ -138,3 +138,13 @@ thus the maximum number of mounted filesystems the kernel
can have. You only need to increase super-max if you need to
mount more filesystems than the current value in super-max
allows you to.
+
+==============================================================
+
+aio-nr & aio-max-nr:
+
+aio-nr shows the current system-wide number of asynchronous io
+requests. aio-max-nr allows you to change the maximum value
+aio-nr can grow to.
+
+==============================================================