public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH 1/5] docs: sysctl: remove references to inode-max
@ 2022-07-12 17:26 Stephen Kitt
  2022-07-12 17:26 ` [PATCH 2/5] docs: sysctl: remove references to dquot-max/-nr Stephen Kitt
                   ` (4 more replies)
  0 siblings, 5 replies; 7+ messages in thread
From: Stephen Kitt @ 2022-07-12 17:26 UTC (permalink / raw)
  To: Jonathan Corbet; +Cc: linux-doc, linux-kernel, Stephen Kitt

inode-max was removed in 2.3.20pre1, remove references to it in the
sysctl documentation.

Signed-off-by: Stephen Kitt <steve@sk2.org>
---
 Documentation/admin-guide/sysctl/fs.rst | 16 ++++------------
 1 file changed, 4 insertions(+), 12 deletions(-)

diff --git a/Documentation/admin-guide/sysctl/fs.rst b/Documentation/admin-guide/sysctl/fs.rst
index 2a501c9ddc55..54130ae33df8 100644
--- a/Documentation/admin-guide/sysctl/fs.rst
+++ b/Documentation/admin-guide/sysctl/fs.rst
@@ -33,7 +33,6 @@ Currently, these files are in /proc/sys/fs:
 - dquot-nr
 - file-max
 - file-nr
-- inode-max
 - inode-nr
 - inode-state
 - nr_open
@@ -136,18 +135,12 @@ enough for most machines. Actual limit depends on RLIMIT_NOFILE
 resource limit.
 
 
-inode-max, inode-nr & inode-state
----------------------------------
+inode-nr & inode-state
+----------------------
 
 As with file handles, the kernel allocates the inode structures
 dynamically, but can't free them yet.
 
-The value in inode-max denotes the maximum number of inode
-handlers. This value should be 3-4 times larger than the value
-in file-max, since stdin, stdout and network sockets also
-need an inode struct to handle them. When you regularly run
-out of inodes, you need to increase this value.
-
 The file inode-nr contains the first two items from
 inode-state, so we'll skip to that file...
 
@@ -156,11 +149,10 @@ The actual numbers are, in order of appearance, nr_inodes,
 nr_free_inodes and preshrink.
 
 Nr_inodes stands for the number of inodes the system has
-allocated, this can be slightly more than inode-max because
-Linux allocates them one pageful at a time.
+allocated.
 
 Nr_free_inodes represents the number of free inodes (?) and
-preshrink is nonzero when the nr_inodes > inode-max and the
+preshrink is nonzero when the
 system needs to prune the inode list instead of allocating
 more.
 

base-commit: 50fd82b3a9a9335df5d50c7ddcb81c81d358c4fc
-- 
2.31.1


^ permalink raw reply related	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2022-07-16 19:45 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-07-12 17:26 [PATCH 1/5] docs: sysctl: remove references to inode-max Stephen Kitt
2022-07-12 17:26 ` [PATCH 2/5] docs: sysctl: remove references to dquot-max/-nr Stephen Kitt
2022-07-12 17:26 ` [PATCH 3/5] docs: sysctl/fs: merge the aio sections Stephen Kitt
2022-07-12 17:26 ` [PATCH 4/5] docs: sysctl/fs: remove references to super-max/-nr Stephen Kitt
2022-07-12 17:26 ` [PATCH 5/5] docs: sysctl/fs: re-order, prettify Stephen Kitt
2022-07-16 19:44   ` kernel test robot
2022-07-13 20:07 ` [PATCH 1/5] docs: sysctl: remove references to inode-max Jonathan Corbet

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox