diff options
author | Ojaswin Mujoo <ojaswin@linux.ibm.com> | 2023-03-25 09:13:42 +0100 |
---|---|---|
committer | Theodore Ts'o <tytso@mit.edu> | 2023-04-06 07:13:13 +0200 |
commit | 361eb69fc99f1a8f1d653d69ecd742f3cbb896be (patch) | |
tree | d7a8049b093ffb9502e50dff829c3a0782c2e8b6 /Documentation/admin-guide/ext4.rst | |
parent | ext4: Use rbtrees to manage PAs instead of inode i_prealloc_list (diff) | |
download | linux-361eb69fc99f1a8f1d653d69ecd742f3cbb896be.tar.xz linux-361eb69fc99f1a8f1d653d69ecd742f3cbb896be.zip |
ext4: Remove the logic to trim inode PAs
Earlier, inode PAs were stored in a linked list. This caused a need to
periodically trim the list down inorder to avoid growing it to a very
large size, as this would severly affect performance during list
iteration.
Recent patches changed this list to an rbtree, and since the tree scales
up much better, we no longer need to have the trim functionality, hence
remove it.
Signed-off-by: Ojaswin Mujoo <ojaswin@linux.ibm.com>
Reviewed-by: Ritesh Harjani (IBM) <ritesh.list@gmail.com>
Reviewed-by: Jan Kara <jack@suse.cz>
Link: https://lore.kernel.org/r/c409addceaa3ade4b40328e28e3b54b2f259689e.1679731817.git.ojaswin@linux.ibm.com
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
Diffstat (limited to 'Documentation/admin-guide/ext4.rst')
-rw-r--r-- | Documentation/admin-guide/ext4.rst | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/Documentation/admin-guide/ext4.rst b/Documentation/admin-guide/ext4.rst index 4c559e08d11e..5740d85439ff 100644 --- a/Documentation/admin-guide/ext4.rst +++ b/Documentation/admin-guide/ext4.rst @@ -489,9 +489,6 @@ Files in /sys/fs/ext4/<devname>: multiple of this tuning parameter if the stripe size is not set in the ext4 superblock - mb_max_inode_prealloc - The maximum length of per-inode ext4_prealloc_space list. - mb_max_to_scan The maximum number of extents the multiblock allocator will search to find the best extent. |