fs: set VFS cache pressure to 20

Signed-off-by: Nahuel Gómez <nahuelgomez329@gmail.com>
This commit is contained in:
Nahuel Gómez 2024-11-13 13:25:06 -03:00 committed by Ksawlii
parent 50b38430ba
commit fcc88303d8

View file

@ -74,7 +74,7 @@
* If no ancestor relationship: * If no ancestor relationship:
* arbitrary, since it's serialized on rename_lock * arbitrary, since it's serialized on rename_lock
*/ */
int sysctl_vfs_cache_pressure __read_mostly = 100; int sysctl_vfs_cache_pressure __read_mostly = 20;
EXPORT_SYMBOL_GPL(sysctl_vfs_cache_pressure); EXPORT_SYMBOL_GPL(sysctl_vfs_cache_pressure);
__cacheline_aligned_in_smp DEFINE_SEQLOCK(rename_lock); __cacheline_aligned_in_smp DEFINE_SEQLOCK(rename_lock);